#76842B#76842B

#76842B is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.4% C 0.114 H 117.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#76842B
RGBrgb(118, 132, 43)
HSLhsl(69, 51%, 34%)
HSVhsv(69, 67%, 52%)
CMYKcmyk(10.6%, 0%, 67.4%, 48.2%)
CIE-LABlab(52.43, -17.97, 44.52)
CIE-LCHlch(52.43, 48.01, 111.98°)
OKLaboklab(58.37% -0.053 0.1009)
OKLCHoklch(58.37% 0.114 117.7)
XYZxyz(16.1588, 20.5287, 5.3962)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76842B #392B84
analogous
#84662B #76842B #4A842B
triadic
#76842B #2B7684 #842B76
tetradic
#76842B #2B8466 #392B84 #842B4A
square
#76842B #2B8466 #392B84 #842B4A
split-complementary
#76842B #2B4A84 #662B84
monochromatic
#23280D #4D561C #76842B #9FB23A #BACB5F

Accessibility & contrast

On white

4.11
#76842B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#76842B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76842B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76842B#FFFFFF#000000##000000
##76842B1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1F
Deuteranopia (green-blind)
#8B7E31
Tritanopia (blue-blind)
#7D7D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #76842b;
/* rgb */ color: rgb(118, 132, 43);
/* oklch */ color: oklch(58.4% 0.114 117.7);
Tailwind
colors: {
  custom: {
    50: '#a0a769',
    500: '#76842b',
    950: '#000000',
  },
}
SCSS
$custom: #76842b;
$custom-light: #a0a769;
$custom-dark: #000000;
JSON
{
  "hex": "#76842b",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 69.438,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58374,
    "c": 0.11394,
    "h": 117.7
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#76842B
secondary
#685AB1
accent
#4DDA64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #76842B

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

Preview Lab → · Contrast checker → · Palette generator →

#76842B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva