#788A13#788A13

#788A13 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 59.8% C 0.134 H 118.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#788A13
RGBrgb(120, 138, 19)
HSLhsl(69, 76%, 31%)
HSVhsv(69, 86%, 54%)
CMYKcmyk(13%, 0%, 86.2%, 45.9%)
CIE-LABlab(54.26, -21.38, 54.58)
CIE-LCHlch(54.26, 58.62, 111.39°)
OKLaboklab(59.84% -0.0646 0.1179)
OKLCHoklch(59.84% 0.134 118.7)
XYZxyz(16.9522, 22.2172, 4.0113)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788A13 #25138A
analogous
#8A6013 #788A13 #3C8A13
triadic
#788A13 #13788A #8A1378
tetradic
#788A13 #138A60 #25138A #8A133C
square
#788A13 #138A60 #25138A #8A133C
split-complementary
#788A13 #133C8A #60138A
monochromatic
#1A1E04 #49540C #788A13 #A7C01A #C9E334

Accessibility & contrast

On white

3.86
#788A13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#788A13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788A13
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788A13#FFFFFF#000000##000000
##788A131.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#808275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #788a13;
/* rgb */ color: rgb(120, 138, 19);
/* oklch */ color: oklch(59.8% 0.134 118.7);
Tailwind
colors: {
  custom: {
    50: '#a3ac5f',
    500: '#788a13',
    950: '#000000',
  },
}
SCSS
$custom: #788a13;
$custom-light: #a3ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#788a13",
  "rgb": {
    "r": 120,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 69.076,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59838,
    "c": 0.13446,
    "h": 118.7
  },
  "luminance": 0.22217
}

Semantic roles & 50–950 ramp

primary
#788A13
secondary
#4E3ABE
accent
#35F252
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #788A13

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

Preview Lab → · Contrast checker → · Palette generator →

#788A13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva