#76842A#76842A

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

Color values

HEX#76842A
RGBrgb(118, 132, 42)
HSLhsl(69, 52%, 34%)
HSVhsv(69, 68%, 52%)
CMYKcmyk(10.6%, 0%, 68.2%, 48.2%)
CIE-LABlab(52.42, -18.04, 44.94)
CIE-LCHlch(52.42, 48.42, 111.87°)
OKLaboklab(58.37% -0.0533 0.1016)
OKLCHoklch(58.37% 0.115 117.7)
XYZxyz(16.1407, 20.5214, 5.3008)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76842A #382A84
analogous
#84652A #76842A #49842A
triadic
#76842A #2A7684 #842A76
tetradic
#76842A #2A8465 #382A84 #842A49
square
#76842A #2A8465 #382A84 #842A49
split-complementary
#76842A #2A4984 #652A84
monochromatic
#23270C #4C561B #76842A #A0B239 #BACB5D

Accessibility & contrast

On white

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

On black

5.10
#76842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76842A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76842A#FFFFFF#000000##000000
##76842A1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76842a;
/* rgb */ color: rgb(118, 132, 42);
/* oklch */ color: oklch(58.4% 0.115 117.7);
Tailwind
colors: {
  custom: {
    50: '#a0a769',
    500: '#76842a',
    950: '#000000',
  },
}
SCSS
$custom: #76842a;
$custom-light: #a0a769;
$custom-dark: #000000;
JSON
{
  "hex": "#76842a",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 69.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.11472,
    "h": 117.7
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#76842A
secondary
#6659B1
accent
#4DDB63
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #76842A

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

Preview Lab → · Contrast checker → · Palette generator →

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