#7E7624#7E7624

#7E7624 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.101 H 103.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E7624
RGBrgb(126, 118, 36)
HSLhsl(55, 56%, 32%)
HSVhsv(55, 71%, 49%)
CMYKcmyk(0%, 6.3%, 71.4%, 50.6%)
CIE-LABlab(48.91, -7.19, 44.13)
CIE-LCHlch(48.91, 44.71, 99.25°)
OKLaboklab(55.71% -0.024 0.0986)
OKLCHoklch(55.71% 0.101 103.7)
XYZxyz(15.4017, 17.5205, 4.2392)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7624 #242C7E
analogous
#7E4924 #7E7624 #597E24
triadic
#7E7624 #247E76 #76247E
tetradic
#7E7624 #247E49 #242C7E #7E2459
square
#7E7624 #247E49 #242C7E #7E2459
split-complementary
#7E7624 #24597E #49247E
monochromatic
#1F1D09 #4E4916 #7E7624 #AEA332 #CDC250

Accessibility & contrast

On white

4.66
#7E7624 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7E7624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7624
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7624#FFFFFF#000000##FFFFFF
##7E76241.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817218
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#886E66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7624;
/* rgb */ color: rgb(126, 118, 36);
/* oklch */ color: oklch(55.7% 0.101 103.7);
Tailwind
colors: {
  custom: {
    50: '#a69d64',
    500: '#7e7624',
    950: '#000000',
  },
}
SCSS
$custom: #7e7624;
$custom-light: #a69d64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7624",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 36
  },
  "hsl": {
    "h": 54.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.10148,
    "h": 103.7
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#7E7624
secondary
#4E56B0
accent
#56DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E7624

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

Preview Lab → · Contrast checker → · Palette generator →

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