#788023#788023

#788023 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.114 H 114.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#788023
RGBrgb(120, 128, 35)
HSLhsl(65, 57%, 32%)
HSVhsv(65, 73%, 50%)
CMYKcmyk(6.3%, 0%, 72.7%, 49.8%)
CIE-LABlab(51.33, -15.47, 46.77)
CIE-LCHlch(51.33, 49.26, 108.30°)
OKLaboklab(57.51% -0.047 0.1042)
OKLCHoklch(57.51% 0.114 114.3)
XYZxyz(15.7687, 19.5531, 4.5332)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788023 #2B2380
analogous
#805A23 #788023 #4A8023
triadic
#788023 #237880 #802378
tetradic
#788023 #23805A #2B2380 #80234A
square
#788023 #23805A #2B2380 #80234A
split-complementary
#788023 #234A80 #5A2380
monochromatic
#1E2009 #4B5016 #788023 #A5B030 #C4CF4F

Accessibility & contrast

On white

4.28
#788023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#788023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##788023#FFFFFF#000000##000000
##7880231.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)
#8A7913
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#80786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #788023;
/* rgb */ color: rgb(120, 128, 35);
/* oklch */ color: oklch(57.5% 0.114 114.3);
Tailwind
colors: {
  custom: {
    50: '#a2a465',
    500: '#788023',
    950: '#000000',
  },
}
SCSS
$custom: #788023;
$custom-light: #a2a465;
$custom-dark: #000000;
JSON
{
  "hex": "#788023",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 65.161,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.11428,
    "h": 114.3
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#788023
secondary
#554DB2
accent
#47E055
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #788023

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

Preview Lab → · Contrast checker → · Palette generator →

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