#7E7332#7E7332

#7E7332 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.087 H 99.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7E7332
RGBrgb(126, 115, 50)
HSLhsl(51, 43%, 35%)
HSVhsv(51, 60%, 49%)
CMYKcmyk(0%, 8.7%, 60.3%, 50.6%)
CIE-LABlab(48.17, -4.53, 36.80)
CIE-LCHlch(48.17, 37.08, 97.02°)
OKLaboklab(55.16% -0.0147 0.0853)
OKLCHoklch(55.16% 0.087 99.8)
XYZxyz(15.3112, 16.9280, 5.4779)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7332 #323D7E
analogous
#7E4D32 #7E7332 #637E32
triadic
#7E7332 #327E73 #73327E
tetradic
#7E7332 #327E4D #323D7E #7E3263
square
#7E7332 #327E4D #323D7E #7E3263
split-complementary
#7E7332 #32637E #4D327E
monochromatic
#26230F #524B21 #7E7332 #AA9B43 #C3B668

Accessibility & contrast

On white

4.79
#7E7332 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7E7332 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7332
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7332#FFFFFF#000000##FFFFFF
##7E73321.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e7332;
/* rgb */ color: rgb(126, 115, 50);
/* oklch */ color: oklch(55.2% 0.087 99.8);
Tailwind
colors: {
  custom: {
    50: '#a59b6c',
    500: '#7e7332',
    950: '#000000',
  },
}
SCSS
$custom: #7e7332;
$custom-light: #a59b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7332",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 50
  },
  "hsl": {
    "h": 51.316,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55163,
    "c": 0.08657,
    "h": 99.8
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#7E7332
secondary
#616CAB
accent
#67D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E7332

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

Preview Lab → · Contrast checker → · Palette generator →

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