#7E7210#7E7210

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

Color values

HEX#7E7210
RGBrgb(126, 114, 16)
HSLhsl(53, 77%, 28%)
HSVhsv(53, 87%, 49%)
CMYKcmyk(0%, 9.5%, 87.3%, 50.6%)
CIE-LABlab(47.63, -5.80, 49.98)
CIE-LCHlch(47.63, 50.31, 96.62°)
OKLaboklab(54.66% -0.0221 0.107)
OKLCHoklch(54.66% 0.109 101.7)
XYZxyz(14.7158, 16.5084, 2.9014)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7210 #101C7E
analogous
#7E3B10 #7E7210 #537E10
triadic
#7E7210 #107E72 #72107E
tetradic
#7E7210 #107E3B #101C7E #7E1053
square
#7E7210 #107E3B #101C7E #7E1053
split-complementary
#7E7210 #10537E #3B107E
monochromatic
#1B1903 #484109 #7E7210 #B4A317 #E3CF25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7210#FFFFFF#000000##FFFFFF
##7E72101.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)
#817319
Tritanopia (blue-blind)
#886961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e7210;
/* rgb */ color: rgb(126, 114, 16);
/* oklch */ color: oklch(54.7% 0.109 101.7);
Tailwind
colors: {
  custom: {
    50: '#a79a5a',
    500: '#7e7210',
    950: '#000000',
  },
}
SCSS
$custom: #7e7210;
$custom-light: #a79a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7210",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 53.455,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54661,
    "c": 0.10929,
    "h": 101.7
  },
  "luminance": 0.16508
}

Semantic roles & 50–950 ramp

primary
#7E7210
secondary
#3643B4
accent
#49F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7210

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

Preview Lab → · Contrast checker → · Palette generator →

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