#7F8E19#7F8E19

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

Color values

HEX#7F8E19
RGBrgb(127, 142, 25)
HSLhsl(68, 70%, 33%)
HSVhsv(68, 82%, 56%)
CMYKcmyk(10.6%, 0%, 82.4%, 44.3%)
CIE-LABlab(56.02, -20.12, 54.72)
CIE-LCHlch(56.02, 58.30, 110.19°)
OKLaboklab(61.4% -0.0611 0.119)
OKLCHoklch(61.4% 0.134 117.2)
XYZxyz(18.6014, 23.9284, 4.5583)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8E19 #28198E
analogous
#8E6219 #7F8E19 #458E19
triadic
#7F8E19 #197F8E #8E197F
tetradic
#7F8E19 #198E62 #28198E #8E1945
square
#7F8E19 #198E62 #28198E #8E1945
split-complementary
#7F8E19 #19458E #62198E
monochromatic
#222607 #505A10 #7F8E19 #AEC222 #CADE43

Accessibility & contrast

On white

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

On black

5.79
#7F8E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8E19
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8E19#FFFFFF#000000##000000
##7F8E191.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f8e19;
/* rgb */ color: rgb(127, 142, 25);
/* oklch */ color: oklch(61.4% 0.134 117.2);
Tailwind
colors: {
  custom: {
    50: '#a8af62',
    500: '#7f8e19',
    950: '#000000',
  },
}
SCSS
$custom: #7f8e19;
$custom-light: #a8af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8e19",
  "rgb": {
    "r": 127,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 67.692,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61396,
    "c": 0.13374,
    "h": 117.2
  },
  "luminance": 0.23928
}

Semantic roles & 50–950 ramp

primary
#7F8E19
secondary
#5444BF
accent
#3BED52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7F8E19

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

Preview Lab → · Contrast checker → · Palette generator →

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