#7F8619#7F8619

#7F8619 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.125 H 113.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7F8619
RGBrgb(127, 134, 25)
HSLhsl(64, 69%, 31%)
HSVhsv(64, 81%, 53%)
CMYKcmyk(5.2%, 0%, 81.3%, 47.5%)
CIE-LABlab(53.64, -15.96, 52.62)
CIE-LCHlch(53.64, 54.98, 106.87°)
OKLaboklab(59.48% -0.0497 0.1145)
OKLCHoklch(59.48% 0.125 113.5)
XYZxyz(17.4535, 21.6328, 4.1756)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8619 #201986
analogous
#865619 #7F8619 #488619
triadic
#7F8619 #197F86 #86197F
tetradic
#7F8619 #198656 #201986 #861948
square
#7F8619 #198656 #201986 #861948
split-complementary
#7F8619 #194886 #561986
monochromatic
#1D1F06 #4E520F #7F8619 #B0BA23 #D1DB3E

Accessibility & contrast

On white

3.94
#7F8619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7F8619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8619
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8619#FFFFFF#000000##000000
##7F86191.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#887D72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f8619;
/* rgb */ color: rgb(127, 134, 25);
/* oklch */ color: oklch(59.5% 0.125 113.5);
Tailwind
colors: {
  custom: {
    50: '#a7a961',
    500: '#7f8619',
    950: '#000000',
  },
}
SCSS
$custom: #7f8619;
$custom-light: #a7a961;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8619",
  "rgb": {
    "r": 127,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 63.853,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.12476,
    "h": 113.5
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#7F8619
secondary
#4941BA
accent
#3CEB48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7F8619

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

Preview Lab → · Contrast checker → · Palette generator →

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