#7E712A#7E712A

#7E712A is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.092 H 98.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E712A
RGBrgb(126, 113, 42)
HSLhsl(51, 50%, 33%)
HSVhsv(51, 67%, 49%)
CMYKcmyk(0%, 10.3%, 66.7%, 50.6%)
CIE-LABlab(47.51, -3.99, 39.99)
CIE-LCHlch(47.51, 40.19, 95.70°)
OKLaboklab(54.62% -0.0142 0.0909)
OKLCHoklch(54.62% 0.092 98.9)
XYZxyz(14.9279, 16.4137, 4.5719)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E712A #2A377E
analogous
#7E472A #7E712A #617E2A
triadic
#7E712A #2A7E71 #712A7E
tetradic
#7E712A #2A7E47 #2A377E #7E2A61
square
#7E712A #2A7E47 #2A377E #7E2A61
split-complementary
#7E712A #2A617E #472A7E
monochromatic
#221F0B #50481B #7E712A #AC9A39 #C8B75A

Accessibility & contrast

On white

4.90
#7E712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7E712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E712A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E712A#FFFFFF#000000##FFFFFF
##7E712A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E22
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#886962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e712a;
/* rgb */ color: rgb(126, 113, 42);
/* oklch */ color: oklch(54.6% 0.092 98.9);
Tailwind
colors: {
  custom: {
    50: '#a69967',
    500: '#7e712a',
    950: '#000000',
  },
}
SCSS
$custom: #7e712a;
$custom-light: #a69967;
$custom-dark: #000000;
JSON
{
  "hex": "#7e712a",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 50.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.092,
    "h": 98.9
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#7E712A
secondary
#5664AE
accent
#64DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E712A

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

Preview Lab → · Contrast checker → · Palette generator →

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