#788114#788114

#788114 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#788114
RGBrgb(120, 129, 20)
HSLhsl(65, 73%, 29%)
HSVhsv(65, 84%, 51%)
CMYKcmyk(7%, 0%, 84.5%, 49.4%)
CIE-LABlab(51.55, -16.68, 52.01)
CIE-LCHlch(51.55, 54.61, 107.78°)
OKLaboklab(57.66% -0.0517 0.1125)
OKLCHoklch(57.66% 0.124 114.7)
XYZxyz(15.7227, 19.7444, 3.6445)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788114 #1D1481
analogous
#815414 #788114 #428114
triadic
#788114 #147881 #811478
tetradic
#788114 #148154 #1D1481 #811442
square
#788114 #148154 #1D1481 #811442
split-complementary
#788114 #144281 #541481
monochromatic
#191A04 #474C0C #788114 #A9B61C #D1DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788114#FFFFFF#000000##000000
##7881141.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: #788114;
/* rgb */ color: rgb(120, 129, 20);
/* oklch */ color: oklch(57.7% 0.124 114.7);
Tailwind
colors: {
  custom: {
    50: '#a2a55e',
    500: '#788114',
    950: '#000000',
  },
}
SCSS
$custom: #788114;
$custom-light: #a2a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#788114",
  "rgb": {
    "r": 120,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 64.954,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.1238,
    "h": 114.7
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#788114
secondary
#453BB6
accent
#38F047
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788114

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

Preview Lab → · Contrast checker → · Palette generator →

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