#7F7E15#7F7E15

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

Color values

HEX#7F7E15
RGBrgb(127, 126, 21)
HSLhsl(59, 72%, 29%)
HSVhsv(59, 83%, 50%)
CMYKcmyk(0%, 0.8%, 83.5%, 50.2%)
CIE-LABlab(51.25, -11.82, 51.71)
CIE-LCHlch(51.25, 53.04, 102.87°)
OKLaboklab(57.57% -0.0385 0.1117)
OKLCHoklch(57.57% 0.118 109)
XYZxyz(16.3493, 19.4884, 3.6097)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7E15 #15167F
analogous
#7F4915 #7F7E15 #4B7F15
triadic
#7F7E15 #157F7E #7E157F
tetradic
#7F7E15 #157F49 #15167F #7F154B
square
#7F7E15 #157F49 #15167F #7F154B
split-complementary
#7F7E15 #154B7F #49157F
monochromatic
#1A1A04 #4A4A0C #7F7E15 #B4B21E #DDDB31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F7E15#FFFFFF#000000##000000
##7F7E151.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)
#8A7C1F
Tritanopia (blue-blind)
#89756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f7e15;
/* rgb */ color: rgb(127, 126, 21);
/* oklch */ color: oklch(57.6% 0.118 109.0);
Tailwind
colors: {
  custom: {
    50: '#a8a35e',
    500: '#7f7e15',
    950: '#000000',
  },
}
SCSS
$custom: #7f7e15;
$custom-light: #a8a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7e15",
  "rgb": {
    "r": 127,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 59.434,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.11818,
    "h": 109
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#7F7E15
secondary
#3C3DB4
accent
#3BEE39
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7F7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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