#788B14#788B14

#788B14 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.1% C 0.135 H 119.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#788B14
RGBrgb(120, 139, 20)
HSLhsl(70, 75%, 31%)
HSVhsv(70, 86%, 55%)
CMYKcmyk(13.7%, 0%, 85.6%, 45.5%)
CIE-LABlab(54.56, -21.86, 54.60)
CIE-LCHlch(54.56, 58.81, 111.82°)
OKLaboklab(60.09% -0.0659 0.1181)
OKLCHoklch(60.09% 0.135 119.2)
XYZxyz(17.1050, 22.5089, 4.1052)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788B14 #27148B
analogous
#8B6214 #788B14 #3C8B14
triadic
#788B14 #14788B #8B1478
tetradic
#788B14 #148B62 #27148B #8B143C
square
#788B14 #148B62 #27148B #8B143C
split-complementary
#788B14 #143C8B #62148B
monochromatic
#1C2005 #4A550C #788B14 #A6C11C #C7E237

Accessibility & contrast

On white

3.82
#788B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#788B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788B14
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788B14#FFFFFF#000000##000000
##788B141.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#928322
Tritanopia (blue-blind)
#808376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #788b14;
/* rgb */ color: rgb(120, 139, 20);
/* oklch */ color: oklch(60.1% 0.135 119.2);
Tailwind
colors: {
  custom: {
    50: '#a3ac60',
    500: '#788b14',
    950: '#000000',
  },
}
SCSS
$custom: #788b14;
$custom-light: #a3ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#788b14",
  "rgb": {
    "r": 120,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 69.58,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60086,
    "c": 0.13522,
    "h": 119.2
  },
  "luminance": 0.22509
}

Semantic roles & 50–950 ramp

primary
#788B14
secondary
#513CBF
accent
#36F154
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #788B14

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

Preview Lab → · Contrast checker → · Palette generator →

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