#7F8F13#7F8F13

#7F8F13 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.6% C 0.137 H 117.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7F8F13
RGBrgb(127, 143, 19)
HSLhsl(68, 77%, 32%)
HSVhsv(68, 87%, 56%)
CMYKcmyk(11.2%, 0%, 86.7%, 43.9%)
CIE-LABlab(56.29, -20.83, 56.52)
CIE-LCHlch(56.29, 60.23, 110.23°)
OKLaboklab(61.61% -0.0635 0.1218)
OKLCHoklch(61.61% 0.137 117.5)
XYZxyz(18.6929, 24.2042, 4.3031)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8F13 #23138F
analogous
#8F6113 #7F8F13 #418F13
triadic
#7F8F13 #137F8F #8F137F
tetradic
#7F8F13 #138F61 #23138F #8F1341
square
#7F8F13 #138F61 #23138F #8F1341
split-complementary
#7F8F13 #13418F #61138F
monochromatic
#1F2305 #4F590C #7F8F13 #AFC51A #CEE538

Accessibility & contrast

On white

3.60
#7F8F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7F8F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8F13
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8F13#FFFFFF#000000##000000
##7F8F131.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988821
Tritanopia (blue-blind)
#878679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7f8f13;
/* rgb */ color: rgb(127, 143, 19);
/* oklch */ color: oklch(61.6% 0.137 117.5);
Tailwind
colors: {
  custom: {
    50: '#a8af60',
    500: '#7f8f13',
    950: '#000000',
  },
}
SCSS
$custom: #7f8f13;
$custom-light: #a8af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8f13",
  "rgb": {
    "r": 127,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 67.742,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.13734,
    "h": 117.5
  },
  "luminance": 0.24204
}

Semantic roles & 50–950 ramp

primary
#7F8F13
secondary
#4C3BC3
accent
#35F34D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7F8F13

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

Preview Lab → · Contrast checker → · Palette generator →

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