#7E7D13#7E7D13

#7E7D13 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#7E7D13
RGBrgb(126, 125, 19)
HSLhsl(59, 74%, 28%)
HSVhsv(59, 85%, 49%)
CMYKcmyk(0%, 0.8%, 84.9%, 50.6%)
CIE-LABlab(50.86, -11.80, 51.89)
CIE-LCHlch(50.86, 53.22, 102.81°)
OKLaboklab(57.24% -0.0386 0.1118)
OKLCHoklch(57.24% 0.118 109)
XYZxyz(16.0560, 19.1504, 3.4666)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7D13 #13147E
analogous
#7E4713 #7E7D13 #497E13
triadic
#7E7D13 #137E7D #7D137E
tetradic
#7E7D13 #137E47 #13147E #7E1349
square
#7E7D13 #137E47 #13147E #7E1349
split-complementary
#7E7D13 #13497E #47137E
monochromatic
#1B1A04 #49480B #7E7D13 #B3B21B #DFDE2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7D13#FFFFFF#000000##000000
##7E7D131.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: #7e7d13;
/* rgb */ color: rgb(126, 125, 19);
/* oklch */ color: oklch(57.2% 0.118 109.0);
Tailwind
colors: {
  custom: {
    50: '#a7a25d',
    500: '#7e7d13',
    950: '#000000',
  },
}
SCSS
$custom: #7e7d13;
$custom-light: #a7a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7d13",
  "rgb": {
    "r": 126,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 59.439,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.11827,
    "h": 109
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E7D13

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

Preview Lab → · Contrast checker → · Palette generator →

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