#788013#788013

#788013 is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.4% C 0.123 H 114.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#788013
RGBrgb(120, 128, 19)
HSLhsl(64, 74%, 29%)
HSVhsv(64, 85%, 50%)
CMYKcmyk(6.3%, 0%, 85.2%, 49.8%)
CIE-LABlab(51.24, -16.18, 52.01)
CIE-LCHlch(51.24, 54.47, 107.28°)
OKLaboklab(57.42% -0.0504 0.1124)
OKLCHoklch(57.42% 0.123 114.1)
XYZxyz(15.5829, 19.4788, 3.5549)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788013 #1B1380
analogous
#805213 #788013 #428013
triadic
#788013 #137880 #801378
tetradic
#788013 #138052 #1B1380 #801342
square
#788013 #138052 #1B1380 #801342
split-complementary
#788013 #134280 #521380
monochromatic
#191B04 #464B0B #788013 #AAB51B #D3E02D

Accessibility & contrast

On white

4.29
#788013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#788013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788013
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788013#FFFFFF#000000##000000
##7880131.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#81786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #788013;
/* rgb */ color: rgb(120, 128, 19);
/* oklch */ color: oklch(57.4% 0.123 114.1);
Tailwind
colors: {
  custom: {
    50: '#a2a45d',
    500: '#788013',
    950: '#000000',
  },
}
SCSS
$custom: #788013;
$custom-light: #a2a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#788013",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 64.404,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.12312,
    "h": 114.1
  },
  "luminance": 0.19478
}

Semantic roles & 50–950 ramp

primary
#788013
secondary
#4339B5
accent
#37F145
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788013

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

Preview Lab → · Contrast checker → · Palette generator →

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