#7E8F13#7E8F13

#7E8F13 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.5% C 0.138 H 118.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7E8F13
RGBrgb(126, 143, 19)
HSLhsl(68, 77%, 32%)
HSVhsv(68, 87%, 56%)
CMYKcmyk(11.9%, 0%, 86.7%, 43.9%)
CIE-LABlab(56.22, -21.27, 56.42)
CIE-LCHlch(56.22, 60.30, 110.66°)
OKLaboklab(61.53% -0.0646 0.1216)
OKLCHoklch(61.53% 0.138 118)
XYZxyz(18.5447, 24.1278, 4.2962)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8F13 #24138F
analogous
#8F6213 #7E8F13 #408F13
triadic
#7E8F13 #137E8F #8F137E
tetradic
#7E8F13 #138F62 #24138F #8F1340
square
#7E8F13 #138F62 #24138F #8F1340
split-complementary
#7E8F13 #13408F #62138F
monochromatic
#1F2305 #4E590C #7E8F13 #AEC51A #CDE538

Accessibility & contrast

On white

3.60
#7E8F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7E8F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8F13
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8F13#FFFFFF#000000##000000
##7E8F131.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#868679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8f13;
/* rgb */ color: rgb(126, 143, 19);
/* oklch */ color: oklch(61.5% 0.138 118.0);
Tailwind
colors: {
  custom: {
    50: '#a7af60',
    500: '#7e8f13',
    950: '#000000',
  },
}
SCSS
$custom: #7e8f13;
$custom-light: #a7af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8f13",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 68.226,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.13774,
    "h": 118
  },
  "luminance": 0.24128
}

Semantic roles & 50–950 ramp

primary
#7E8F13
secondary
#4E3BC3
accent
#35F34F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7E8F13

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

Preview Lab → · Contrast checker → · Palette generator →

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