#7F7E13#7F7E13

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

Color values

HEX#7F7E13
RGBrgb(127, 126, 19)
HSLhsl(59, 74%, 29%)
HSVhsv(59, 85%, 50%)
CMYKcmyk(0%, 0.8%, 85%, 50.2%)
CIE-LABlab(51.25, -11.88, 52.25)
CIE-LCHlch(51.25, 53.59, 102.81°)
OKLaboklab(57.56% -0.0388 0.1125)
OKLCHoklch(57.56% 0.119 109)
XYZxyz(16.3315, 19.4813, 3.5160)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7E13 #13147F
analogous
#7F4813 #7F7E13 #4A7F13
triadic
#7F7E13 #137F7E #7E137F
tetradic
#7F7E13 #137F48 #13147F #7F134A
square
#7F7E13 #137F48 #13147F #7F134A
split-complementary
#7F7E13 #134A7F #48137F
monochromatic
#1B1A04 #4A490B #7F7E13 #B4B31B #E0DE2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7f7e13;
/* rgb */ color: rgb(127, 126, 19);
/* oklch */ color: oklch(57.6% 0.119 109.0);
Tailwind
colors: {
  custom: {
    50: '#a8a35d',
    500: '#7f7e13',
    950: '#000000',
  },
}
SCSS
$custom: #7f7e13;
$custom-light: #a8a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7e13",
  "rgb": {
    "r": 127,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 59.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57564,
    "c": 0.11904,
    "h": 109
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#7F7E13
secondary
#393AB4
accent
#39F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7F7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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