#7E7327#7E7327

#7E7327 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.096 H 101.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7E7327
RGBrgb(126, 115, 39)
HSLhsl(52, 53%, 32%)
HSVhsv(52, 69%, 49%)
CMYKcmyk(0%, 8.7%, 69%, 50.6%)
CIE-LABlab(48.06, -5.32, 41.95)
CIE-LCHlch(48.06, 42.29, 97.23°)
OKLaboklab(55.05% -0.0184 0.0946)
OKLCHoklch(55.05% 0.096 101)
XYZxyz(15.1018, 16.8442, 4.3748)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7327 #27327E
analogous
#7E4827 #7E7327 #5D7E27
triadic
#7E7327 #277E73 #73277E
tetradic
#7E7327 #277E48 #27327E #7E275D
square
#7E7327 #277E48 #27327E #7E275D
split-complementary
#7E7327 #275D7E #48277E
monochromatic
#211E0A #4F4819 #7E7327 #AD9E35 #CABC55

Accessibility & contrast

On white

4.81
#7E7327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7E7327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7327
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7327#FFFFFF#000000##FFFFFF
##7E73271.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701D
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#886B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7327;
/* rgb */ color: rgb(126, 115, 39);
/* oklch */ color: oklch(55.0% 0.096 101.0);
Tailwind
colors: {
  custom: {
    50: '#a69b66',
    500: '#7e7327',
    950: '#000000',
  },
}
SCSS
$custom: #7e7327;
$custom-light: #a69b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7327",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 52.414,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.09632,
    "h": 101
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#7E7327
secondary
#525DAF
accent
#5EDC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E7327

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

Preview Lab → · Contrast checker → · Palette generator →

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