#7E7129#7E7129

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

Color values

HEX#7E7129
RGBrgb(126, 113, 41)
HSLhsl(51, 51%, 33%)
HSVhsv(51, 67%, 49%)
CMYKcmyk(0%, 10.3%, 67.5%, 50.6%)
CIE-LABlab(47.50, -4.06, 40.45)
CIE-LCHlch(47.50, 40.65, 95.73°)
OKLaboklab(54.61% -0.0145 0.0917)
OKLCHoklch(54.61% 0.093 99)
XYZxyz(14.9102, 16.4066, 4.4788)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7129 #29367E
analogous
#7E4729 #7E7129 #607E29
triadic
#7E7129 #297E71 #71297E
tetradic
#7E7129 #297E47 #29367E #7E2960
square
#7E7129 #297E47 #29367E #7E2960
split-complementary
#7E7129 #29607E #47297E
monochromatic
#221E0B #50481A #7E7129 #AC9A38 #C9B859

Accessibility & contrast

On white

4.91
#7E7129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E7129
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7129#FFFFFF#000000##FFFFFF
##7E71291.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e7129;
/* rgb */ color: rgb(126, 113, 41);
/* oklch */ color: oklch(54.6% 0.093 99.0);
Tailwind
colors: {
  custom: {
    50: '#a69967',
    500: '#7e7129',
    950: '#000000',
  },
}
SCSS
$custom: #7e7129;
$custom-light: #a69967;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7129",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 50.824,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54607,
    "c": 0.09285,
    "h": 99
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#7E7129
secondary
#5562AE
accent
#63DA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E7129

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

Preview Lab → · Contrast checker → · Palette generator →

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