#7E8E14#7E8E14

#7E8E14 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#7E8E14
RGBrgb(126, 142, 20)
HSLhsl(68, 75%, 32%)
HSVhsv(68, 86%, 56%)
CMYKcmyk(11.3%, 0%, 85.9%, 44.3%)
CIE-LABlab(55.92, -20.73, 55.93)
CIE-LCHlch(55.92, 59.65, 110.34°)
OKLaboklab(61.29% -0.0631 0.1207)
OKLCHoklch(61.29% 0.136 117.6)
XYZxyz(18.4039, 23.8323, 4.2923)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8E14 #24148E
analogous
#8E6114 #7E8E14 #418E14
triadic
#7E8E14 #147E8E #8E147E
tetradic
#7E8E14 #148E61 #24148E #8E1441
square
#7E8E14 #148E61 #24148E #8E1441
split-complementary
#7E8E14 #14418E #61148E
monochromatic
#1F2305 #4E580C #7E8E14 #AEC41C #CDE339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8E14#FFFFFF#000000##000000
##7E8E141.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)
#978722
Tritanopia (blue-blind)
#868579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8e14;
/* rgb */ color: rgb(126, 142, 20);
/* oklch */ color: oklch(61.3% 0.136 117.6);
Tailwind
colors: {
  custom: {
    50: '#a7af60',
    500: '#7e8e14',
    950: '#000000',
  },
}
SCSS
$custom: #7e8e14;
$custom-light: #a7af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8e14",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 67.869,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61293,
    "c": 0.13623,
    "h": 117.6
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#7E8E14
secondary
#4E3CC2
accent
#36F24F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7E8E14

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

Preview Lab → · Contrast checker → · Palette generator →

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