#7E701E#7E701E

#7E701E is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.100 H 99.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7E701E
RGBrgb(126, 112, 30)
HSLhsl(51, 62%, 31%)
HSVhsv(51, 76%, 49%)
CMYKcmyk(0%, 11.1%, 76.2%, 50.6%)
CIE-LABlab(47.13, -4.13, 44.84)
CIE-LCHlch(47.13, 45.03, 95.26°)
OKLaboklab(54.28% -0.016 0.0989)
OKLCHoklch(54.28% 0.1 99.2)
XYZxyz(14.6334, 16.1184, 3.5684)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E701E #1E2C7E
analogous
#7E401E #7E701E #5C7E1E
triadic
#7E701E #1E7E70 #701E7E
tetradic
#7E701E #1E7E40 #1E2C7E #7E1E5C
square
#7E701E #1E7E40 #1E2C7E #7E1E5C
split-complementary
#7E701E #1E5C7E #401E7E
monochromatic
#1B1806 #4D4412 #7E701E #AF9C2A #D2BE44

Accessibility & contrast

On white

4.97
#7E701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7E701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E701E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E701E#FFFFFF#000000##FFFFFF
##7E701E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D10
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#886760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e701e;
/* rgb */ color: rgb(126, 112, 30);
/* oklch */ color: oklch(54.3% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#a79860',
    500: '#7e701e',
    950: '#000000',
  },
}
SCSS
$custom: #7e701e;
$custom-light: #a79860;
$custom-dark: #000000;
JSON
{
  "hex": "#7e701e",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 51.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.10022,
    "h": 99.2
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#7E701E
secondary
#4756B1
accent
#5BE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E701E

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

Preview Lab → · Contrast checker → · Palette generator →

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