#787E53#787E53

#787E53 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.7% C 0.062 H 114.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#787E53
RGBrgb(120, 126, 83)
HSLhsl(68, 21%, 41%)
HSVhsv(68, 34%, 49%)
CMYKcmyk(4.8%, 0%, 34.1%, 50.6%)
CIE-LABlab(51.31, -9.72, 22.71)
CIE-LCHlch(51.31, 24.70, 113.16°)
OKLaboklab(57.68% -0.0261 0.0564)
OKLCHoklch(57.68% 0.062 114.8)
XYZxyz(16.7679, 19.5395, 11.0701)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787E53 #59537E
analogous
#7E6E53 #787E53 #627E53
triadic
#787E53 #53787E #7E5378
tetradic
#787E53 #537E6E #59537E #7E5362
square
#787E53 #537E6E #59537E #7E5362
split-complementary
#787E53 #53627E #6E537E
monochromatic
#323422 #55593B #787E53 #99A06E #B3B893

Accessibility & contrast

On white

4.28
#787E53 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#787E53 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787E53
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787E53#FFFFFF#000000##000000
##787E531.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A50
Deuteranopia (green-blind)
#837B55
Tritanopia (blue-blind)
#7D7973
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #787e53;
/* rgb */ color: rgb(120, 126, 83);
/* oklch */ color: oklch(57.7% 0.062 114.8);
Tailwind
colors: {
  custom: {
    50: '#9fa384',
    500: '#787e53',
    950: '#000000',
  },
}
SCSS
$custom: #787e53;
$custom-light: #9fa384;
$custom-dark: #000000;
JSON
{
  "hex": "#787e53",
  "rgb": {
    "r": 120,
    "g": 126,
    "b": 83
  },
  "hsl": {
    "h": 68.372,
    "s": 20.574,
    "l": 40.98
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.06211,
    "h": 114.8
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

primary
#787E53
secondary
#8C87A5
accent
#6BBD76
background
#F9FAF8
surface
#F2F3EF
border
#CCCDCA
text
#0E0F0B
muted
#7E7F7C

Preview Lab

Preview with #787E53

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

Preview Lab → · Contrast checker → · Palette generator →

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