#787139#787139

#787139 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.077 H 102.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#787139
RGBrgb(120, 113, 57)
HSLhsl(53, 36%, 35%)
HSVhsv(53, 53%, 47%)
CMYKcmyk(0%, 5.8%, 52.5%, 52.9%)
CIE-LABlab(47.10, -5.51, 31.78)
CIE-LCHlch(47.10, 32.25, 99.85°)
OKLaboklab(54.21% -0.0163 0.0753)
OKLCHoklch(54.21% 0.077 102.2)
XYZxyz(14.3898, 16.0992, 6.2196)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787139 #394078
analogous
#785139 #787139 #607839
triadic
#787139 #397871 #713978
tetradic
#787139 #397851 #394078 #783960
square
#787139 #397851 #394078 #783960
split-complementary
#787139 #396078 #513978
monochromatic
#252312 #4F4A25 #787139 #A1984D #BBB370

Accessibility & contrast

On white

4.98
#787139 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#787139 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787139
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787139#FFFFFF#000000##FFFFFF
##7871391.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E34
Deuteranopia (green-blind)
#7C713C
Tritanopia (blue-blind)
#806A64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787139;
/* rgb */ color: rgb(120, 113, 57);
/* oklch */ color: oklch(54.2% 0.077 102.2);
Tailwind
colors: {
  custom: {
    50: '#a09971',
    500: '#787139',
    950: '#000000',
  },
}
SCSS
$custom: #787139;
$custom-light: #a09971;
$custom-dark: #000000;
JSON
{
  "hex": "#787139",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 57
  },
  "hsl": {
    "h": 53.333,
    "s": 35.593,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.07707,
    "h": 102.2
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#787139
secondary
#686FA4
accent
#69CC5C
background
#FAF9F6
surface
#F3F2EC
border
#CDCCC7
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #787139

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

Preview Lab → · Contrast checker → · Palette generator →

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