#7E7233#7E7233

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

Color values

HEX#7E7233
RGBrgb(126, 114, 51)
HSLhsl(50, 42%, 35%)
HSVhsv(50, 60%, 49%)
CMYKcmyk(0%, 9.5%, 59.5%, 50.6%)
CIE-LABlab(47.89, -3.88, 35.98)
CIE-LCHlch(47.89, 36.19, 96.16°)
OKLaboklab(54.95% -0.0127 0.0837)
OKLCHoklch(54.95% 0.085 98.7)
XYZxyz(15.2196, 16.7099, 5.5550)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7233 #333F7E
analogous
#7E4D33 #7E7233 #657E33
triadic
#7E7233 #337E72 #72337E
tetradic
#7E7233 #337E4D #333F7E #7E3365
square
#7E7233 #337E4D #333F7E #7E3365
split-complementary
#7E7233 #33657E #4D337E
monochromatic
#272310 #524B21 #7E7233 #AA9945 #C2B469

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7233#FFFFFF#000000##FFFFFF
##7E72331.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)
#7C6F2D
Deuteranopia (green-blind)
#7F7436
Tritanopia (blue-blind)
#876A64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7233;
/* rgb */ color: rgb(126, 114, 51);
/* oklch */ color: oklch(54.9% 0.085 98.7);
Tailwind
colors: {
  custom: {
    50: '#a59a6d',
    500: '#7e7233',
    950: '#000000',
  },
}
SCSS
$custom: #7e7233;
$custom-light: #a59a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7233",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 50.4,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54948,
    "c": 0.08463,
    "h": 98.7
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#7E7233
secondary
#636EAA
accent
#6AD256
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E7233

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

Preview Lab → · Contrast checker → · Palette generator →

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