#788113#788113

#788113 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.124 H 114.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#788113
RGBrgb(120, 129, 19)
HSLhsl(65, 74%, 29%)
HSVhsv(65, 85%, 51%)
CMYKcmyk(7%, 0%, 85.3%, 49.4%)
CIE-LABlab(51.54, -16.71, 52.27)
CIE-LCHlch(51.54, 54.88, 107.73°)
OKLaboklab(57.66% -0.0518 0.1129)
OKLCHoklch(57.66% 0.124 114.7)
XYZxyz(15.7140, 19.7409, 3.5986)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788113 #1C1381
analogous
#815313 #788113 #418113
triadic
#788113 #137881 #811378
tetradic
#788113 #138153 #1C1381 #811341
square
#788113 #138153 #1C1381 #811341
split-complementary
#788113 #134181 #531381
monochromatic
#191B04 #464C0B #788113 #AAB61B #D2E02E

Accessibility & contrast

On white

4.24
#788113 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#788113 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788113
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788113#FFFFFF#000000##000000
##7881131.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#81796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #788113;
/* rgb */ color: rgb(120, 129, 19);
/* oklch */ color: oklch(57.7% 0.124 114.7);
Tailwind
colors: {
  custom: {
    50: '#a2a55e',
    500: '#788113',
    950: '#000000',
  },
}
SCSS
$custom: #788113;
$custom-light: #a2a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#788113",
  "rgb": {
    "r": 120,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 64.909,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.12423,
    "h": 114.7
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#788113
secondary
#443AB6
accent
#37F146
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788113

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

Preview Lab → · Contrast checker → · Palette generator →

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