#788923#788923

#788923 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.7% C 0.125 H 118.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#788923
RGBrgb(120, 137, 35)
HSLhsl(70, 59%, 34%)
HSVhsv(70, 74%, 54%)
CMYKcmyk(12.4%, 0%, 74.5%, 46.3%)
CIE-LABlab(54.03, -20.18, 49.41)
CIE-LCHlch(54.03, 53.37, 112.22°)
OKLaboklab(59.68% -0.0601 0.1097)
OKLCHoklch(59.68% 0.125 118.7)
XYZxyz(16.9951, 22.0059, 4.9420)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788923 #342389
analogous
#896723 #788923 #458923
triadic
#788923 #237889 #892378
tetradic
#788923 #238967 #342389 #892345
square
#788923 #238967 #342389 #892345
split-complementary
#788923 #234589 #672389
monochromatic
#23280A #4D5817 #788923 #A3BA2F #BED353

Accessibility & contrast

On white

3.89
#788923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#788923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788923
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788923#FFFFFF#000000##000000
##7889231.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#90822C
Tritanopia (blue-blind)
#7F8175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #788923;
/* rgb */ color: rgb(120, 137, 35);
/* oklch */ color: oklch(59.7% 0.125 118.7);
Tailwind
colors: {
  custom: {
    50: '#a2ab66',
    500: '#788923',
    950: '#000000',
  },
}
SCSS
$custom: #788923;
$custom-light: #a2ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#788923",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 70,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.1251,
    "h": 118.7
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#788923
secondary
#6251B7
accent
#45E260
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #788923

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

Preview Lab → · Contrast checker → · Palette generator →

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