#788015#788015

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

Color values

HEX#788015
RGBrgb(120, 128, 21)
HSLhsl(64, 72%, 29%)
HSVhsv(64, 84%, 50%)
CMYKcmyk(6.3%, 0%, 83.6%, 49.8%)
CIE-LABlab(51.25, -16.11, 51.47)
CIE-LCHlch(51.25, 53.93, 107.38°)
OKLaboklab(57.42% -0.05 0.1115)
OKLCHoklch(57.42% 0.122 114.2)
XYZxyz(15.6008, 19.4859, 3.6487)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788015 #1D1580
analogous
#805315 #788015 #438015
triadic
#788015 #157880 #801578
tetradic
#788015 #158053 #1D1580 #801543
square
#788015 #158053 #1D1580 #801543
split-complementary
#788015 #154380 #531580
monochromatic
#191A04 #474B0C #788015 #A9B51E #D1DD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##788015#FFFFFF#000000##000000
##7880151.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)
#8A7B20
Tritanopia (blue-blind)
#81786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #788015;
/* rgb */ color: rgb(120, 128, 21);
/* oklch */ color: oklch(57.4% 0.122 114.2);
Tailwind
colors: {
  custom: {
    50: '#a2a45e',
    500: '#788015',
    950: '#000000',
  },
}
SCSS
$custom: #788015;
$custom-light: #a2a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#788015",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 64.486,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.12225,
    "h": 114.2
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#788015
secondary
#453CB5
accent
#39EF47
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788015

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

Preview Lab → · Contrast checker → · Palette generator →

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