#7F7E19#7F7E19

#7F7E19 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.116 H 109.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7F7E19
RGBrgb(127, 126, 25)
HSLhsl(59, 67%, 30%)
HSVhsv(59, 80%, 50%)
CMYKcmyk(0%, 0.8%, 80.3%, 50.2%)
CIE-LABlab(51.27, -11.67, 50.51)
CIE-LCHlch(51.27, 51.84, 103.01°)
OKLaboklab(57.59% -0.0378 0.1099)
OKLCHoklch(57.59% 0.116 109)
XYZxyz(16.3894, 19.5044, 3.8209)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7E19 #191A7F
analogous
#7F4B19 #7F7E19 #4D7F19
triadic
#7F7E19 #197F7E #7E197F
tetradic
#7F7E19 #197F4B #191A7F #7F194D
square
#7F7E19 #197F4B #191A7F #7F194D
split-complementary
#7F7E19 #194D7F #4B197F
monochromatic
#1A1905 #4C4B0F #7F7E19 #B2B123 #D8D73A

Accessibility & contrast

On white

4.29
#7F7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7F7E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7E19
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7E19#FFFFFF#000000##000000
##7F7E191.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7C22
Tritanopia (blue-blind)
#89756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f7e19;
/* rgb */ color: rgb(127, 126, 25);
/* oklch */ color: oklch(57.6% 0.116 109.0);
Tailwind
colors: {
  custom: {
    50: '#a7a360',
    500: '#7f7e19',
    950: '#000000',
  },
}
SCSS
$custom: #7f7e19;
$custom-light: #a7a360;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7e19",
  "rgb": {
    "r": 127,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 59.412,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.11625,
    "h": 109
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#7F7E19
secondary
#4142B3
accent
#3FEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7F7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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