#7F7D14#7F7D14

#7F7D14 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.118 H 108.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7F7D14
RGBrgb(127, 125, 20)
HSLhsl(59, 73%, 29%)
HSVhsv(59, 84%, 50%)
CMYKcmyk(0%, 1.6%, 84.3%, 50.2%)
CIE-LABlab(50.96, -11.31, 51.73)
CIE-LCHlch(50.96, 52.95, 102.33°)
OKLaboklab(57.33% -0.0372 0.1116)
OKLCHoklch(57.33% 0.118 108.4)
XYZxyz(16.2129, 19.2303, 3.5195)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7D14 #14167F
analogous
#7F4814 #7F7D14 #4C7F14
triadic
#7F7D14 #147F7D #7D147F
tetradic
#7F7D14 #147F48 #14167F #7F144C
square
#7F7D14 #147F48 #14167F #7F144C
split-complementary
#7F7D14 #144C7F #48147F
monochromatic
#1A1A04 #4A490C #7F7D14 #B4B11C #DEDB2F

Accessibility & contrast

On white

4.33
#7F7D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7F7D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7D14
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7D14#FFFFFF#000000##000000
##7F7D141.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#89746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f7d14;
/* rgb */ color: rgb(127, 125, 20);
/* oklch */ color: oklch(57.3% 0.118 108.4);
Tailwind
colors: {
  custom: {
    50: '#a8a25e',
    500: '#7f7d14',
    950: '#000000',
  },
}
SCSS
$custom: #7f7d14;
$custom-light: #a8a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7d14",
  "rgb": {
    "r": 127,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 58.879,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.11762,
    "h": 108.4
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#7F7D14
secondary
#3B3DB4
accent
#3CEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7F7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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