#7D762B#7D762B

#7D762B is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.096 H 104.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D762B
RGBrgb(125, 118, 43)
HSLhsl(55, 49%, 33%)
HSVhsv(55, 66%, 49%)
CMYKcmyk(0%, 5.6%, 65.6%, 51%)
CIE-LABlab(48.87, -7.21, 40.95)
CIE-LCHlch(48.87, 41.58, 99.98°)
OKLaboklab(55.68% -0.0232 0.0931)
OKLCHoklch(55.68% 0.096 104)
XYZxyz(15.3725, 17.4918, 4.8515)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D762B #2B327D
analogous
#7D4D2B #7D762B #5B7D2B
triadic
#7D762B #2B7D76 #762B7D
tetradic
#7D762B #2B7D4D #2B327D #7D2B5B
square
#7D762B #2B7D4D #2B327D #7D2B5B
split-complementary
#7D762B #2B5B7D #4D2B7D
monochromatic
#22200C #4F4B1B #7D762B #ABA13B #C7BE5C

Accessibility & contrast

On white

4.67
#7D762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7D762B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D762B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D762B#FFFFFF#000000##FFFFFF
##7D762B1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807222
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#866E66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d762b;
/* rgb */ color: rgb(125, 118, 43);
/* oklch */ color: oklch(55.7% 0.096 104.0);
Tailwind
colors: {
  custom: {
    50: '#a59d68',
    500: '#7d762b',
    950: '#000000',
  },
}
SCSS
$custom: #7d762b;
$custom-light: #a59d68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d762b",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 54.878,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.09596,
    "h": 104
  },
  "luminance": 0.17491
}

Semantic roles & 50–950 ramp

primary
#7D762B
secondary
#575EAD
accent
#5BD84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D762B

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

Preview Lab → · Contrast checker → · Palette generator →

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