#7E7D14#7E7D14

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

Color values

HEX#7E7D14
RGBrgb(126, 125, 20)
HSLhsl(59, 73%, 29%)
HSVhsv(59, 84%, 49%)
CMYKcmyk(0%, 0.8%, 84.1%, 50.6%)
CIE-LABlab(50.87, -11.77, 51.62)
CIE-LCHlch(50.87, 52.95, 102.84°)
OKLaboklab(57.24% -0.0384 0.1114)
OKLCHoklch(57.24% 0.118 109)
XYZxyz(16.0647, 19.1539, 3.5125)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7D14 #14157E
analogous
#7E4814 #7E7D14 #4A7E14
triadic
#7E7D14 #147E7D #7D147E
tetradic
#7E7D14 #147E48 #14157E #7E144A
square
#7E7D14 #147E48 #14157E #7E144A
split-complementary
#7E7D14 #144A7E #48147E
monochromatic
#1A1A04 #49490C #7E7D14 #B3B11C #DEDC2E

Accessibility & contrast

On white

4.35
#7E7D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7E7D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7D14
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7D14#FFFFFF#000000##000000
##7E7D141.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#897B1E
Tritanopia (blue-blind)
#88746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e7d14;
/* rgb */ color: rgb(126, 125, 20);
/* oklch */ color: oklch(57.2% 0.118 109.0);
Tailwind
colors: {
  custom: {
    50: '#a7a25d',
    500: '#7e7d14',
    950: '#000000',
  },
}
SCSS
$custom: #7e7d14;
$custom-light: #a7a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7d14",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 59.434,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57241,
    "c": 0.11783,
    "h": 109
  },
  "luminance": 0.19153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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