#7E7214#7E7214

#7E7214 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#7E7214
RGBrgb(126, 114, 20)
HSLhsl(53, 73%, 29%)
HSVhsv(53, 84%, 49%)
CMYKcmyk(0%, 9.5%, 84.1%, 50.6%)
CIE-LABlab(47.65, -5.68, 48.85)
CIE-LCHlch(47.65, 49.17, 96.63°)
OKLaboklab(54.68% -0.0214 0.1054)
OKLCHoklch(54.68% 0.108 101.5)
XYZxyz(14.7485, 16.5215, 3.0738)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7214 #14207E
analogous
#7E3D14 #7E7214 #557E14
triadic
#7E7214 #147E72 #72147E
tetradic
#7E7214 #147E3D #14207E #7E1455
square
#7E7214 #147E3D #14207E #7E1455
split-complementary
#7E7214 #14557E #3D147E
monochromatic
#1A1804 #49420C #7E7214 #B3A21C #DECA2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7214#FFFFFF#000000##FFFFFF
##7E72141.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)
#81731C
Tritanopia (blue-blind)
#886961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e7214;
/* rgb */ color: rgb(126, 114, 20);
/* oklch */ color: oklch(54.7% 0.108 101.5);
Tailwind
colors: {
  custom: {
    50: '#a79a5c',
    500: '#7e7214',
    950: '#000000',
  },
}
SCSS
$custom: #7e7214;
$custom-light: #a79a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7214",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 53.208,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.10755,
    "h": 101.5
  },
  "luminance": 0.16521
}

Semantic roles & 50–950 ramp

primary
#7E7214
secondary
#3A48B3
accent
#4DEF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7214

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

Preview Lab → · Contrast checker → · Palette generator →

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