#7F8E13#7F8E13

#7F8E13 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#7F8E13
RGBrgb(127, 142, 19)
HSLhsl(67, 76%, 32%)
HSVhsv(67, 87%, 56%)
CMYKcmyk(10.6%, 0%, 86.6%, 44.3%)
CIE-LABlab(55.99, -20.32, 56.26)
CIE-LCHlch(55.99, 59.82, 109.86°)
OKLaboklab(61.37% -0.0621 0.1212)
OKLCHoklch(61.37% 0.136 117.1)
XYZxyz(18.5435, 23.9053, 4.2533)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8E13 #22138E
analogous
#8E6013 #7F8E13 #428E13
triadic
#7F8E13 #137F8E #8E137F
tetradic
#7F8E13 #138E60 #22138E #8E1342
square
#7F8E13 #138E60 #22138E #8E1342
split-complementary
#7F8E13 #13428E #60138E
monochromatic
#1E2205 #4F580C #7F8E13 #AFC41A #CFE437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F8E13#FFFFFF#000000##000000
##7F8E131.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)
#978721
Tritanopia (blue-blind)
#888579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7f8e13;
/* rgb */ color: rgb(127, 142, 19);
/* oklch */ color: oklch(61.4% 0.136 117.1);
Tailwind
colors: {
  custom: {
    50: '#a8af60',
    500: '#7f8e13',
    950: '#000000',
  },
}
SCSS
$custom: #7f8e13;
$custom-light: #a8af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8e13",
  "rgb": {
    "r": 127,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 67.317,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.6137,
    "c": 0.13621,
    "h": 117.1
  },
  "luminance": 0.23905
}

Semantic roles & 50–950 ramp

primary
#7F8E13
secondary
#4B3BC2
accent
#35F34C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7F8E13

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

Preview Lab → · Contrast checker → · Palette generator →

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