#7F8E14#7F8E14

#7F8E14 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.4% C 0.136 H 117.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7F8E14
RGBrgb(127, 142, 20)
HSLhsl(67, 75%, 32%)
HSVhsv(67, 86%, 56%)
CMYKcmyk(10.6%, 0%, 85.9%, 44.3%)
CIE-LABlab(56.00, -20.29, 56.03)
CIE-LCHlch(56.00, 59.59, 109.91°)
OKLaboklab(61.37% -0.0619 0.1209)
OKLCHoklch(61.37% 0.136 117.1)
XYZxyz(18.5522, 23.9088, 4.2992)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8E14 #23148E
analogous
#8E6014 #7F8E14 #428E14
triadic
#7F8E14 #147F8E #8E147F
tetradic
#7F8E14 #148E60 #23148E #8E1442
square
#7F8E14 #148E60 #23148E #8E1442
split-complementary
#7F8E14 #14428E #60148E
monochromatic
#1F2305 #4F580C #7F8E14 #AFC41C #CEE339

Accessibility & contrast

On white

3.63
#7F8E14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7F8E14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8E14
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8E14#FFFFFF#000000##000000
##7F8E141.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f8e14;
/* rgb */ color: rgb(127, 142, 20);
/* oklch */ color: oklch(61.4% 0.136 117.1);
Tailwind
colors: {
  custom: {
    50: '#a8af60',
    500: '#7f8e14',
    950: '#000000',
  },
}
SCSS
$custom: #7f8e14;
$custom-light: #a8af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8e14",
  "rgb": {
    "r": 127,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 67.377,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61374,
    "c": 0.13584,
    "h": 117.1
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#7F8E14
secondary
#4C3CC2
accent
#36F24D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7F8E14

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

Preview Lab → · Contrast checker → · Palette generator →

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