#7E7329#7E7329

#7E7329 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.095 H 100.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7E7329
RGBrgb(126, 115, 41)
HSLhsl(52, 51%, 33%)
HSVhsv(52, 67%, 49%)
CMYKcmyk(0%, 8.7%, 67.5%, 50.6%)
CIE-LABlab(48.08, -5.19, 41.06)
CIE-LCHlch(48.08, 41.39, 97.21°)
OKLaboklab(55.06% -0.0178 0.093)
OKLCHoklch(55.06% 0.095 100.8)
XYZxyz(15.1358, 16.8578, 4.5540)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7329 #29347E
analogous
#7E4829 #7E7329 #5F7E29
triadic
#7E7329 #297E73 #73297E
tetradic
#7E7329 #297E48 #29347E #7E295F
square
#7E7329 #297E48 #29347E #7E295F
split-complementary
#7E7329 #295F7E #48297E
monochromatic
#221F0B #50491A #7E7329 #AC9D38 #C9BA59

Accessibility & contrast

On white

4.80
#7E7329 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E7329
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7329#FFFFFF#000000##FFFFFF
##7E73291.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#886B64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7329;
/* rgb */ color: rgb(126, 115, 41);
/* oklch */ color: oklch(55.1% 0.095 100.8);
Tailwind
colors: {
  custom: {
    50: '#a69b67',
    500: '#7e7329',
    950: '#000000',
  },
}
SCSS
$custom: #7e7329;
$custom-light: #a69b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7329",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 41
  },
  "hsl": {
    "h": 52.235,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55064,
    "c": 0.09468,
    "h": 100.8
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#7E7329
secondary
#5560AE
accent
#60DA4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7E7329

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

Preview Lab → · Contrast checker → · Palette generator →

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