#788110#788110

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

Color values

HEX#788110
RGBrgb(120, 129, 16)
HSLhsl(65, 78%, 28%)
HSVhsv(65, 88%, 51%)
CMYKcmyk(7%, 0%, 87.6%, 49.4%)
CIE-LABlab(51.53, -16.80, 53.01)
CIE-LCHlch(51.53, 55.61, 107.59°)
OKLaboklab(57.64% -0.0523 0.114)
OKLCHoklch(57.64% 0.125 114.6)
XYZxyz(15.6900, 19.7313, 3.4721)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788110 #191081
analogous
#815110 #788110 #3F8110
triadic
#788110 #107881 #811078
tetradic
#788110 #108151 #191081 #81103F
square
#788110 #108151 #191081 #81103F
split-complementary
#788110 #103F81 #511081
monochromatic
#191B03 #454B09 #788110 #ABB717 #D5E427

Accessibility & contrast

On white

4.25
#788110 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##788110#FFFFFF#000000##000000
##7881101.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #788110;
/* rgb */ color: rgb(120, 129, 16);
/* oklch */ color: oklch(57.6% 0.125 114.6);
Tailwind
colors: {
  custom: {
    50: '#a3a55d',
    500: '#788110',
    950: '#000000',
  },
}
SCSS
$custom: #788110;
$custom-light: #a3a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#788110",
  "rgb": {
    "r": 120,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 64.779,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.1254,
    "h": 114.6
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#788110
secondary
#4036B7
accent
#33F443
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #788110

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

Preview Lab → · Contrast checker → · Palette generator →

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