#7E7213#7E7213

#7E7213 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.108 H 101.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E7213
RGBrgb(126, 114, 19)
HSLhsl(53, 74%, 28%)
HSVhsv(53, 85%, 49%)
CMYKcmyk(0%, 9.5%, 84.9%, 50.6%)
CIE-LABlab(47.65, -5.71, 49.14)
CIE-LCHlch(47.65, 49.47, 96.63°)
OKLaboklab(54.67% -0.0216 0.1058)
OKLCHoklch(54.67% 0.108 101.5)
XYZxyz(14.7398, 16.5180, 3.0279)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7213 #131F7E
analogous
#7E3C13 #7E7213 #547E13
triadic
#7E7213 #137E72 #72137E
tetradic
#7E7213 #137E3C #131F7E #7E1354
square
#7E7213 #137E3C #131F7E #7E1354
split-complementary
#7E7213 #13547E #3C137E
monochromatic
#1B1804 #49420B #7E7213 #B3A21B #DFCB2C

Accessibility & contrast

On white

4.88
#7E7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7E7213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7213
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7213#FFFFFF#000000##FFFFFF
##7E72131.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#81731B
Tritanopia (blue-blind)
#886961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e7213;
/* rgb */ color: rgb(126, 114, 19);
/* oklch */ color: oklch(54.7% 0.108 101.5);
Tailwind
colors: {
  custom: {
    50: '#a79a5b',
    500: '#7e7213',
    950: '#000000',
  },
}
SCSS
$custom: #7e7213;
$custom-light: #a79a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7213",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 53.271,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.10801,
    "h": 101.5
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#7E7213
secondary
#3947B4
accent
#4CF037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7213

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

Preview Lab → · Contrast checker → · Palette generator →

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