#7F7E14#7F7E14

#7F7E14 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#7F7E14
RGBrgb(127, 126, 20)
HSLhsl(59, 73%, 29%)
HSVhsv(59, 84%, 50%)
CMYKcmyk(0%, 0.8%, 84.3%, 50.2%)
CIE-LABlab(51.25, -11.85, 51.98)
CIE-LCHlch(51.25, 53.32, 102.84°)
OKLaboklab(57.57% -0.0387 0.1121)
OKLCHoklch(57.57% 0.119 109)
XYZxyz(16.3402, 19.4848, 3.5619)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7E14 #14157F
analogous
#7F4914 #7F7E14 #4B7F14
triadic
#7F7E14 #147F7E #7E147F
tetradic
#7F7E14 #147F49 #14157F #7F144B
square
#7F7E14 #147F49 #14157F #7F144B
split-complementary
#7F7E14 #144B7F #49147F
monochromatic
#1A1A04 #4A4A0C #7F7E14 #B4B21C #DEDD2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F7E14#FFFFFF#000000##000000
##7F7E141.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: #7f7e14;
/* rgb */ color: rgb(127, 126, 20);
/* oklch */ color: oklch(57.6% 0.119 109.0);
Tailwind
colors: {
  custom: {
    50: '#a8a35e',
    500: '#7f7e14',
    950: '#000000',
  },
}
SCSS
$custom: #7f7e14;
$custom-light: #a8a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7e14",
  "rgb": {
    "r": 127,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 59.439,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.11862,
    "h": 109
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#7F7E14
secondary
#3B3CB4
accent
#3AEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7F7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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