#7E8E15#7E8E15

#7E8E15 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.136 H 117.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7E8E15
RGBrgb(126, 142, 21)
HSLhsl(68, 74%, 32%)
HSVhsv(68, 85%, 56%)
CMYKcmyk(11.3%, 0%, 85.2%, 44.3%)
CIE-LABlab(55.92, -20.70, 55.69)
CIE-LCHlch(55.92, 59.41, 110.39°)
OKLaboklab(61.3% -0.063 0.1204)
OKLCHoklch(61.3% 0.136 117.6)
XYZxyz(18.4130, 23.8360, 4.3401)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8E15 #25158E
analogous
#8E6215 #7E8E15 #428E15
triadic
#7E8E15 #157E8E #8E157E
tetradic
#7E8E15 #158E62 #25158E #8E1542
square
#7E8E15 #158E62 #25158E #8E1542
split-complementary
#7E8E15 #15428E #62158E
monochromatic
#1F2305 #4F590D #7E8E15 #ADC31D #CCE23B

Accessibility & contrast

On white

3.64
#7E8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7E8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8E15
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8E15#FFFFFF#000000##000000
##7E8E151.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#868679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8e15;
/* rgb */ color: rgb(126, 142, 21);
/* oklch */ color: oklch(61.3% 0.136 117.6);
Tailwind
colors: {
  custom: {
    50: '#a7af60',
    500: '#7e8e15',
    950: '#000000',
  },
}
SCSS
$custom: #7e8e15;
$custom-light: #a7af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8e15",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 67.934,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.13584,
    "h": 117.6
  },
  "luminance": 0.23836
}

Semantic roles & 50–950 ramp

primary
#7E8E15
secondary
#4F3DC2
accent
#37F150
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7E8E15

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8E15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva