#7E7124#7E7124

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

Color values

HEX#7E7124
RGBrgb(126, 113, 36)
HSLhsl(51, 56%, 32%)
HSVhsv(51, 71%, 49%)
CMYKcmyk(0%, 10.3%, 71.4%, 50.6%)
CIE-LABlab(47.46, -4.37, 42.66)
CIE-LCHlch(47.46, 42.89, 95.85°)
OKLaboklab(54.56% -0.016 0.0955)
OKLCHoklch(54.56% 0.097 99.5)
XYZxyz(14.8284, 16.3739, 4.0481)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7124 #24317E
analogous
#7E4424 #7E7124 #5E7E24
triadic
#7E7124 #247E71 #71247E
tetradic
#7E7124 #247E44 #24317E #7E245E
square
#7E7124 #247E44 #24317E #7E245E
split-complementary
#7E7124 #245E7E #44247E
monochromatic
#1F1C09 #4E4616 #7E7124 #AE9C32 #CDBB50

Accessibility & contrast

On white

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

On black

4.27
#7E7124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E7124#FFFFFF#000000##FFFFFF
##7E71241.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E19
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#886961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e7124;
/* rgb */ color: rgb(126, 113, 36);
/* oklch */ color: oklch(54.6% 0.097 99.5);
Tailwind
colors: {
  custom: {
    50: '#a69964',
    500: '#7e7124',
    950: '#000000',
  },
}
SCSS
$custom: #7e7124;
$custom-light: #a69964;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7124",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 51.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5456,
    "c": 0.09685,
    "h": 99.5
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#7E7124
secondary
#4E5CB0
accent
#5FDF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E7124

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

Preview Lab → · Contrast checker → · Palette generator →

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