#787239#787239

#787239 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.078 H 103.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#787239
RGBrgb(120, 114, 57)
HSLhsl(54, 36%, 35%)
HSVhsv(54, 53%, 47%)
CMYKcmyk(0%, 5%, 52.5%, 52.9%)
CIE-LABlab(47.40, -6.08, 32.12)
CIE-LCHlch(47.40, 32.70, 100.72°)
OKLaboklab(54.44% -0.0179 0.0761)
OKLCHoklch(54.44% 0.078 103.3)
XYZxyz(14.5020, 16.3236, 6.2570)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787239 #393F78
analogous
#785339 #787239 #5E7839
triadic
#787239 #397872 #723978
tetradic
#787239 #397853 #393F78 #78395E
square
#787239 #397853 #393F78 #78395E
split-complementary
#787239 #395E78 #533978
monochromatic
#252312 #4F4B25 #787239 #A1994D #BBB470

Accessibility & contrast

On white

4.92
#787239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#787239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787239
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787239#FFFFFF#000000##FFFFFF
##7872391.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F34
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#806B65
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787239;
/* rgb */ color: rgb(120, 114, 57);
/* oklch */ color: oklch(54.4% 0.078 103.3);
Tailwind
colors: {
  custom: {
    50: '#a09a71',
    500: '#787239',
    950: '#000000',
  },
}
SCSS
$custom: #787239;
$custom-light: #a09a71;
$custom-dark: #000000;
JSON
{
  "hex": "#787239",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 54.286,
    "s": 35.593,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54441,
    "c": 0.07818,
    "h": 103.3
  },
  "luminance": 0.16323
}

Semantic roles & 50–950 ramp

primary
#787239
secondary
#686EA4
accent
#67CC5C
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0E08
muted
#7F7E7B

Preview Lab

Preview with #787239

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

Preview Lab → · Contrast checker → · Palette generator →

#787239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva