#7E7232#7E7232

#7E7232 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.086 H 98.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E7232
RGBrgb(126, 114, 50)
HSLhsl(51, 43%, 35%)
HSVhsv(51, 60%, 49%)
CMYKcmyk(0%, 9.5%, 60.3%, 50.6%)
CIE-LABlab(47.88, -3.97, 36.48)
CIE-LCHlch(47.88, 36.69, 96.21°)
OKLaboklab(54.94% -0.0131 0.0846)
OKLCHoklch(54.94% 0.086 98.8)
XYZxyz(15.1978, 16.7012, 5.4401)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7232 #323E7E
analogous
#7E4C32 #7E7232 #647E32
triadic
#7E7232 #327E72 #72327E
tetradic
#7E7232 #327E4C #323E7E #7E3264
square
#7E7232 #327E4C #323E7E #7E3264
split-complementary
#7E7232 #32647E #4C327E
monochromatic
#26230F #524A21 #7E7232 #AA9A43 #C3B468

Accessibility & contrast

On white

4.84
#7E7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7E7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7232
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7232#FFFFFF#000000##FFFFFF
##7E72321.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2B
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#876A64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7232;
/* rgb */ color: rgb(126, 114, 50);
/* oklch */ color: oklch(54.9% 0.086 98.8);
Tailwind
colors: {
  custom: {
    50: '#a69a6c',
    500: '#7e7232',
    950: '#000000',
  },
}
SCSS
$custom: #7e7232;
$custom-light: #a69a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7232",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 50.526,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.08561,
    "h": 98.8
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#7E7232
secondary
#616DAB
accent
#69D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E7232

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

Preview Lab → · Contrast checker → · Palette generator →

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