#788259#788259

#788259 is a mid, moderate yellow-green. Relative luminance 0.207; OKLCH L 58.7% C 0.060 H 119.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#788259
RGBrgb(120, 130, 89)
HSLhsl(75, 19%, 43%)
HSVhsv(75, 32%, 51%)
CMYKcmyk(7.7%, 0%, 31.5%, 49%)
CIE-LABlab(52.60, -11.06, 21.02)
CIE-LCHlch(52.60, 23.75, 117.75°)
OKLaboklab(58.74% -0.0297 0.0526)
OKLCHoklch(58.74% 0.06 119.4)
XYZxyz(17.5314, 20.6797, 12.5172)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788259 #635982
analogous
#827759 #788259 #638259
triadic
#788259 #597882 #825978
tetradic
#788259 #598277 #635982 #825963
square
#788259 #598277 #635982 #825963
split-complementary
#788259 #596382 #775982
monochromatic
#353927 #565E40 #788259 #97A277 #B3BA9B

Accessibility & contrast

On white

4.09
#788259 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#788259 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788259
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788259#FFFFFF#000000##000000
##7882591.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877E56
Deuteranopia (green-blind)
#867E5B
Tritanopia (blue-blind)
#7C7E77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #788259;
/* rgb */ color: rgb(120, 130, 89);
/* oklch */ color: oklch(58.7% 0.060 119.4);
Tailwind
colors: {
  custom: {
    50: '#9fa688',
    500: '#788259',
    950: '#000000',
  },
}
SCSS
$custom: #788259;
$custom-light: #9fa688;
$custom-dark: #000000;
JSON
{
  "hex": "#788259",
  "rgb": {
    "r": 120,
    "g": 130,
    "b": 89
  },
  "hsl": {
    "h": 74.634,
    "s": 18.721,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.06035,
    "h": 119.4
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#788259
secondary
#958EA8
accent
#6CBB80
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0E0F0B
muted
#7E7F7C

Preview Lab

Preview with #788259

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

Preview Lab → · Contrast checker → · Palette generator →

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