#7E7E13#7E7E13

#7E7E13 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.119 H 109.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E7E13
RGBrgb(126, 126, 19)
HSLhsl(60, 74%, 28%)
HSVhsv(60, 85%, 49%)
CMYKcmyk(0%, 0%, 84.9%, 50.6%)
CIE-LABlab(51.16, -12.35, 52.14)
CIE-LCHlch(51.16, 53.58, 103.32°)
OKLaboklab(57.47% -0.0401 0.1124)
OKLCHoklch(57.47% 0.119 109.6)
XYZxyz(16.1832, 19.4049, 3.5090)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E13 #13137E
analogous
#7E4813 #7E7E13 #487E13
triadic
#7E7E13 #137E7E #7E137E
tetradic
#7E7E13 #137E48 #13137E #7E1348
square
#7E7E13 #137E48 #13137E #7E1348
split-complementary
#7E7E13 #13487E #48137E
monochromatic
#1B1B04 #49490B #7E7E13 #B3B31B #DFDF2C

Accessibility & contrast

On white

4.30
#7E7E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7E7E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E13
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E13#FFFFFF#000000##000000
##7E7E131.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#88756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e7e13;
/* rgb */ color: rgb(126, 126, 19);
/* oklch */ color: oklch(57.5% 0.119 109.6);
Tailwind
colors: {
  custom: {
    50: '#a7a35d',
    500: '#7e7e13',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e13;
$custom-light: #a7a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e13",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 60,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.11928,
    "h": 109.6
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#7E7E13
secondary
#3939B4
accent
#37F037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7E7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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