#787E29#787E29

#787E29 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.107 H 113.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#787E29
RGBrgb(120, 126, 41)
HSLhsl(64, 51%, 33%)
HSVhsv(64, 67%, 49%)
CMYKcmyk(4.8%, 0%, 67.5%, 50.6%)
CIE-LABlab(50.78, -14.02, 43.72)
CIE-LCHlch(50.78, 45.91, 107.79°)
OKLaboklab(57.08% -0.0423 0.0988)
OKLCHoklch(57.08% 0.107 113.2)
XYZxyz(15.6072, 19.0752, 4.9571)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E29 #2F297E
analogous
#7E5929 #787E29 #4E7E29
triadic
#787E29 #29787E #7E2978
tetradic
#787E29 #297E59 #2F297E #7E294E
square
#787E29 #297E59 #2F297E #7E294E
split-complementary
#787E29 #294E7E #59297E
monochromatic
#20220B #4C501A #787E29 #A4AC38 #C1C959

Accessibility & contrast

On white

4.36
#787E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#787E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E29
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E29#FFFFFF#000000##000000
##787E291.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#80766D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787e29;
/* rgb */ color: rgb(120, 126, 41);
/* oklch */ color: oklch(57.1% 0.107 113.2);
Tailwind
colors: {
  custom: {
    50: '#a1a368',
    500: '#787e29',
    950: '#000000',
  },
}
SCSS
$custom: #787e29;
$custom-light: #a1a368;
$custom-dark: #000000;
JSON
{
  "hex": "#787e29",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 64.235,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.10748,
    "h": 113.2
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#787E29
secondary
#5B55AE
accent
#4DDA57
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #787E29

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

Preview Lab → · Contrast checker → · Palette generator →

#787E29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva