#7F8719#7F8719

#7F8719 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.7% C 0.126 H 114.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7F8719
RGBrgb(127, 135, 25)
HSLhsl(64, 69%, 31%)
HSVhsv(64, 81%, 53%)
CMYKcmyk(5.9%, 0%, 81.5%, 47.1%)
CIE-LABlab(53.93, -16.48, 52.88)
CIE-LCHlch(53.93, 55.39, 107.31°)
OKLaboklab(59.72% -0.0511 0.115)
OKLCHoklch(59.72% 0.126 114)
XYZxyz(17.5924, 21.9105, 4.2219)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8719 #211987
analogous
#875819 #7F8719 #488719
triadic
#7F8719 #197F87 #87197F
tetradic
#7F8719 #198758 #211987 #871948
square
#7F8719 #198758 #211987 #871948
split-complementary
#7F8719 #194887 #581987
monochromatic
#1E2006 #4E530F #7F8719 #B0BB23 #D0DB3F

Accessibility & contrast

On white

3.90
#7F8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7F8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8719
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8719#FFFFFF#000000##000000
##7F87191.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#887E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7f8719;
/* rgb */ color: rgb(127, 135, 25);
/* oklch */ color: oklch(59.7% 0.126 114.0);
Tailwind
colors: {
  custom: {
    50: '#a8a961',
    500: '#7f8719',
    950: '#000000',
  },
}
SCSS
$custom: #7f8719;
$custom-light: #a8a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8719",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 64.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59722,
    "c": 0.12586,
    "h": 114
  },
  "luminance": 0.2191
}

Semantic roles & 50–950 ramp

primary
#7F8719
secondary
#4A41BA
accent
#3CEC49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7F8719

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

Preview Lab → · Contrast checker → · Palette generator →

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