#788919#788919

#788919 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.6% C 0.131 H 118.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#788919
RGBrgb(120, 137, 25)
HSLhsl(69, 69%, 32%)
HSVhsv(69, 82%, 54%)
CMYKcmyk(12.4%, 0%, 81.8%, 46.3%)
CIE-LABlab(53.98, -20.66, 52.71)
CIE-LCHlch(53.98, 56.61, 111.40°)
OKLaboklab(59.62% -0.0622 0.1149)
OKLCHoklch(59.62% 0.131 118.4)
XYZxyz(16.8673, 21.9547, 4.2686)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788919 #2A1989
analogous
#896219 #788919 #408919
triadic
#788919 #197889 #891978
tetradic
#788919 #198962 #2A1989 #891940
square
#788919 #198962 #2A1989 #891940
split-complementary
#788919 #194089 #621989
monochromatic
#1D2106 #4B5510 #788919 #A5BD22 #C5DC40

Accessibility & contrast

On white

3.90
#788919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#788919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788919
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788919#FFFFFF#000000##000000
##7889191.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#808175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #788919;
/* rgb */ color: rgb(120, 137, 25);
/* oklch */ color: oklch(59.6% 0.131 118.4);
Tailwind
colors: {
  custom: {
    50: '#a2ab61',
    500: '#788919',
    950: '#000000',
  },
}
SCSS
$custom: #788919;
$custom-light: #a2ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#788919",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 69.107,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.1307,
    "h": 118.4
  },
  "luminance": 0.21955
}

Semantic roles & 50–950 ramp

primary
#788919
secondary
#5441BC
accent
#3CEC57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #788919

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

Preview Lab → · Contrast checker → · Palette generator →

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