#7F8219#7F8219

#7F8219 is a mid, vivid yellow. Relative luminance 0.205; OKLCH L 58.5% C 0.120 H 111.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7F8219
RGBrgb(127, 130, 25)
HSLhsl(62, 68%, 30%)
HSVhsv(62, 81%, 51%)
CMYKcmyk(2.3%, 0%, 80.8%, 49%)
CIE-LABlab(52.45, -13.83, 51.56)
CIE-LCHlch(52.45, 53.38, 105.01°)
OKLaboklab(58.54% -0.0438 0.1122)
OKLCHoklch(58.54% 0.12 111.3)
XYZxyz(16.9111, 20.5479, 3.9948)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8219 #1C1982
analogous
#825019 #7F8219 #4B8219
triadic
#7F8219 #197F82 #82197F
tetradic
#7F8219 #198250 #1C1982 #82194B
square
#7F8219 #198250 #1C1982 #82194B
split-complementary
#7F8219 #194B82 #501982
monochromatic
#1B1B05 #4D4F0F #7F8219 #B1B523 #D5D93C

Accessibility & contrast

On white

4.11
#7F8219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7F8219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8219
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8219#FFFFFF#000000##000000
##7F82191.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#88796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7f8219;
/* rgb */ color: rgb(127, 130, 25);
/* oklch */ color: oklch(58.5% 0.120 111.3);
Tailwind
colors: {
  custom: {
    50: '#a7a660',
    500: '#7f8219',
    950: '#000000',
  },
}
SCSS
$custom: #7f8219;
$custom-light: #a7a660;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8219",
  "rgb": {
    "r": 127,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 61.714,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.12044,
    "h": 111.3
  },
  "luminance": 0.20547
}

Semantic roles & 50–950 ramp

primary
#7F8219
secondary
#4441B6
accent
#3DEB42
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7F8219

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

Preview Lab → · Contrast checker → · Palette generator →

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