#7C762F#7C762F

#7C762F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.092 H 104.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7C762F
RGBrgb(124, 118, 47)
HSLhsl(55, 45%, 34%)
HSVhsv(55, 62%, 49%)
CMYKcmyk(0%, 4.8%, 62.1%, 51.4%)
CIE-LABlab(48.82, -7.38, 38.96)
CIE-LCHlch(48.82, 39.65, 100.72°)
OKLaboklab(55.62% -0.0231 0.0895)
OKLCHoklch(55.62% 0.092 104.5)
XYZxyz(15.3042, 17.4477, 5.2504)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C762F #2F357C
analogous
#7C4F2F #7C762F #5B7C2F
triadic
#7C762F #2F7C76 #762F7C
tetradic
#7C762F #2F7C4F #2F357C #7C2F5B
square
#7C762F #2F7C4F #2F357C #7C2F5B
split-complementary
#7C762F #2F5B7C #4F2F7C
monochromatic
#23220D #504C1E #7C762F #A8A040 #C3BC62

Accessibility & contrast

On white

4.68
#7C762F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7C762F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C762F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C762F#FFFFFF#000000##FFFFFF
##7C762F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#856E67
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c762f;
/* rgb */ color: rgb(124, 118, 47);
/* oklch */ color: oklch(55.6% 0.092 104.5);
Tailwind
colors: {
  custom: {
    50: '#a49d6b',
    500: '#7c762f',
    950: '#000000',
  },
}
SCSS
$custom: #7c762f;
$custom-light: #a49d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c762f",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 55.325,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55624,
    "c": 0.09248,
    "h": 104.5
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#7C762F
secondary
#5C63AA
accent
#5DD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C762F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7C762F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva