#7E701A#7E701A

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

Color values

HEX#7E701A
RGBrgb(126, 112, 26)
HSLhsl(52, 66%, 30%)
HSVhsv(52, 79%, 49%)
CMYKcmyk(0%, 11.1%, 79.4%, 50.6%)
CIE-LABlab(47.10, -4.31, 46.34)
CIE-LCHlch(47.10, 46.54, 95.32°)
OKLaboklab(54.26% -0.017 0.1013)
OKLCHoklch(54.26% 0.103 99.5)
XYZxyz(14.5855, 16.0993, 3.3163)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E701A #1A287E
analogous
#7E3E1A #7E701A #5A7E1A
triadic
#7E701A #1A7E70 #701A7E
tetradic
#7E701A #1A7E3E #1A287E #7E1A5A
square
#7E701A #1A7E3E #1A287E #7E1A5A
split-complementary
#7E701A #1A5A7E #3E1A7E
monochromatic
#191705 #4B4310 #7E701A #B19D24 #D7C13C

Accessibility & contrast

On white

4.98
#7E701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E701A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E701A#FFFFFF#000000##FFFFFF
##7E701A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e701a;
/* rgb */ color: rgb(126, 112, 26);
/* oklch */ color: oklch(54.3% 0.103 99.5);
Tailwind
colors: {
  custom: {
    50: '#a7985e',
    500: '#7e701a',
    950: '#000000',
  },
}
SCSS
$custom: #7e701a;
$custom-light: #a7985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e701a",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 51.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.10271,
    "h": 99.5
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#7E701A
secondary
#4251B2
accent
#57E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E701A

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

Preview Lab → · Contrast checker → · Palette generator →

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