#7E7E14#7E7E14

#7E7E14 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#7E7E14
RGBrgb(126, 126, 20)
HSLhsl(60, 73%, 29%)
HSVhsv(60, 84%, 49%)
CMYKcmyk(0%, 0%, 84.1%, 50.6%)
CIE-LABlab(51.16, -12.31, 51.87)
CIE-LCHlch(51.16, 53.31, 103.35°)
OKLaboklab(57.48% -0.0399 0.112)
OKLCHoklch(57.48% 0.119 109.6)
XYZxyz(16.1919, 19.4083, 3.5549)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E14 #14147E
analogous
#7E4914 #7E7E14 #497E14
triadic
#7E7E14 #147E7E #7E147E
tetradic
#7E7E14 #147E49 #14147E #7E1449
square
#7E7E14 #147E49 #14147E #7E1449
split-complementary
#7E7E14 #14497E #49147E
monochromatic
#1A1A04 #49490C #7E7E14 #B3B31C #DEDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7E14#FFFFFF#000000##000000
##7E7E141.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: #7e7e14;
/* rgb */ color: rgb(126, 126, 20);
/* oklch */ color: oklch(57.5% 0.119 109.6);
Tailwind
colors: {
  custom: {
    50: '#a7a35e',
    500: '#7e7e14',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e14;
$custom-light: #a7a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e14",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.11885,
    "h": 109.6
  },
  "luminance": 0.19408
}

Semantic roles & 50–950 ramp

primary
#7E7E14
secondary
#3A3AB3
accent
#38EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7E7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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