#788615#788615

#788615 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.129 H 117.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#788615
RGBrgb(120, 134, 21)
HSLhsl(67, 73%, 30%)
HSVhsv(67, 84%, 53%)
CMYKcmyk(10.4%, 0%, 84.3%, 47.5%)
CIE-LABlab(53.06, -19.26, 53.04)
CIE-LCHlch(53.06, 56.43, 109.96°)
OKLaboklab(58.87% -0.0587 0.1149)
OKLCHoklch(58.87% 0.129 117.1)
XYZxyz(16.4066, 21.0976, 3.9173)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788615 #231586
analogous
#865C15 #788615 #3F8615
triadic
#788615 #157886 #861578
tetradic
#788615 #15865C #231586 #86153F
square
#788615 #15865C #231586 #86153F
split-complementary
#788615 #153F86 #5C1586
monochromatic
#191C04 #49510D #788615 #A7BB1D #CADF36

Accessibility & contrast

On white

4.02
#788615 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#788615 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788615
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788615#FFFFFF#000000##000000
##7886151.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#807E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #788615;
/* rgb */ color: rgb(120, 134, 21);
/* oklch */ color: oklch(58.9% 0.129 117.1);
Tailwind
colors: {
  custom: {
    50: '#a2a95f',
    500: '#788615',
    950: '#000000',
  },
}
SCSS
$custom: #788615;
$custom-light: #a2a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#788615",
  "rgb": {
    "r": 120,
    "g": 134,
    "b": 21
  },
  "hsl": {
    "h": 67.434,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58874,
    "c": 0.12903,
    "h": 117.1
  },
  "luminance": 0.21097
}

Semantic roles & 50–950 ramp

primary
#788615
secondary
#4C3CBA
accent
#38F04F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #788615

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

Preview Lab → · Contrast checker → · Palette generator →

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