#7E7E15#7E7E15

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

Color values

HEX#7E7E15
RGBrgb(126, 126, 21)
HSLhsl(60, 71%, 29%)
HSVhsv(60, 83%, 49%)
CMYKcmyk(0%, 0%, 83.3%, 50.6%)
CIE-LABlab(51.17, -12.28, 51.59)
CIE-LCHlch(51.17, 53.04, 103.39°)
OKLaboklab(57.48% -0.0397 0.1115)
OKLCHoklch(57.48% 0.118 109.6)
XYZxyz(16.2010, 19.4120, 3.6028)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E15 #15157E
analogous
#7E4A15 #7E7E15 #4A7E15
triadic
#7E7E15 #157E7E #7E157E
tetradic
#7E7E15 #157E4A #15157E #7E154A
square
#7E7E15 #157E4A #15157E #7E154A
split-complementary
#7E7E15 #154A7E #4A157E
monochromatic
#1A1A04 #4A4A0C #7E7E15 #B2B21E #DDDD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7E15#FFFFFF#000000##000000
##7E7E151.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)
#8A7B1F
Tritanopia (blue-blind)
#88756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e7e15;
/* rgb */ color: rgb(126, 126, 21);
/* oklch */ color: oklch(57.5% 0.118 109.6);
Tailwind
colors: {
  custom: {
    50: '#a7a35e',
    500: '#7e7e15',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e15;
$custom-light: #a7a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e15",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57481,
    "c": 0.11841,
    "h": 109.6
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#7E7E15
secondary
#3C3CB3
accent
#3AEE3A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7E7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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