#788115#788115

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

Color values

HEX#788115
RGBrgb(120, 129, 21)
HSLhsl(65, 72%, 29%)
HSVhsv(65, 84%, 51%)
CMYKcmyk(7%, 0%, 83.7%, 49.4%)
CIE-LABlab(51.55, -16.64, 51.73)
CIE-LCHlch(51.55, 54.34, 107.83°)
OKLaboklab(57.67% -0.0515 0.1121)
OKLCHoklch(57.67% 0.123 114.7)
XYZxyz(15.7318, 19.7480, 3.6923)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788115 #1E1581
analogous
#815415 #788115 #428115
triadic
#788115 #157881 #811578
tetradic
#788115 #158154 #1E1581 #811542
square
#788115 #158154 #1E1581 #811542
split-complementary
#788115 #154281 #541581
monochromatic
#181A04 #474C0C #788115 #A9B61E #CFDE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788115#FFFFFF#000000##000000
##7881151.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)
#8B7C20
Tritanopia (blue-blind)
#80796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #788115;
/* rgb */ color: rgb(120, 129, 21);
/* oklch */ color: oklch(57.7% 0.123 114.7);
Tailwind
colors: {
  custom: {
    50: '#a2a55e',
    500: '#788115',
    950: '#000000',
  },
}
SCSS
$custom: #788115;
$custom-light: #a2a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#788115",
  "rgb": {
    "r": 120,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 65,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.12336,
    "h": 114.7
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#788115
secondary
#463CB6
accent
#39EF48
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788115

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

Preview Lab → · Contrast checker → · Palette generator →

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