#7F8919#7F8919

#7F8919 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.2% C 0.128 H 114.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7F8919
RGBrgb(127, 137, 25)
HSLhsl(65, 69%, 32%)
HSVhsv(65, 82%, 54%)
CMYKcmyk(7.3%, 0%, 81.8%, 46.3%)
CIE-LABlab(54.53, -17.53, 53.41)
CIE-LCHlch(54.53, 56.21, 108.17°)
OKLaboklab(60.2% -0.054 0.1161)
OKLCHoklch(60.2% 0.128 114.9)
XYZxyz(17.8741, 22.4739, 4.3158)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8919 #231989
analogous
#895B19 #7F8919 #478919
triadic
#7F8919 #197F89 #89197F
tetradic
#7F8919 #19895B #231989 #891947
square
#7F8919 #19895B #231989 #891947
split-complementary
#7F8919 #194789 #5B1989
monochromatic
#1F2106 #4F5510 #7F8919 #AFBD22 #CEDC40

Accessibility & contrast

On white

3.82
#7F8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7F8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8919
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8919#FFFFFF#000000##000000
##7F89191.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#888075
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f8919;
/* rgb */ color: rgb(127, 137, 25);
/* oklch */ color: oklch(60.2% 0.128 114.9);
Tailwind
colors: {
  custom: {
    50: '#a8ab61',
    500: '#7f8919',
    950: '#000000',
  },
}
SCSS
$custom: #7f8919;
$custom-light: #a8ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8919",
  "rgb": {
    "r": 127,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 65.357,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.12809,
    "h": 114.9
  },
  "luminance": 0.22474
}

Semantic roles & 50–950 ramp

primary
#7F8919
secondary
#4C41BC
accent
#3CEC4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7F8919

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

Preview Lab → · Contrast checker → · Palette generator →

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