#7E7024#7E7024

#7E7024 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.096 H 98.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7E7024
RGBrgb(126, 112, 36)
HSLhsl(51, 56%, 32%)
HSVhsv(51, 71%, 49%)
CMYKcmyk(0%, 11.1%, 71.4%, 50.6%)
CIE-LABlab(47.17, -3.80, 42.37)
CIE-LCHlch(47.17, 42.54, 95.13°)
OKLaboklab(54.33% -0.0144 0.0949)
OKLCHoklch(54.33% 0.096 98.6)
XYZxyz(14.7175, 16.1520, 4.0112)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7024 #24327E
analogous
#7E4324 #7E7024 #5F7E24
triadic
#7E7024 #247E70 #70247E
tetradic
#7E7024 #247E43 #24327E #7E245F
square
#7E7024 #247E43 #24327E #7E245F
split-complementary
#7E7024 #245F7E #43247E
monochromatic
#1F1B09 #4E4616 #7E7024 #AE9A32 #CDB950

Accessibility & contrast

On white

4.96
#7E7024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7E7024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7024
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7024#FFFFFF#000000##FFFFFF
##7E70241.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D19
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#886861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7024;
/* rgb */ color: rgb(126, 112, 36);
/* oklch */ color: oklch(54.3% 0.096 98.6);
Tailwind
colors: {
  custom: {
    50: '#a69863',
    500: '#7e7024',
    950: '#000000',
  },
}
SCSS
$custom: #7e7024;
$custom-light: #a69863;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7024",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 36
  },
  "hsl": {
    "h": 50.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.09598,
    "h": 98.6
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#7E7024
secondary
#4E5DB0
accent
#60DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7E7024

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

Preview Lab → · Contrast checker → · Palette generator →

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