#7E7335#7E7335

#7E7335 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.084 H 99.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E7335
RGBrgb(126, 115, 53)
HSLhsl(51, 41%, 35%)
HSVhsv(51, 58%, 49%)
CMYKcmyk(0%, 8.7%, 57.9%, 50.6%)
CIE-LABlab(48.20, -4.28, 35.31)
CIE-LCHlch(48.20, 35.57, 96.92°)
OKLaboklab(55.2% -0.0136 0.0825)
OKLCHoklch(55.2% 0.084 99.4)
XYZxyz(15.3781, 16.9547, 5.8300)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7335 #35407E
analogous
#7E4F35 #7E7335 #647E35
triadic
#7E7335 #357E73 #73357E
tetradic
#7E7335 #357E4F #35407E #7E3564
square
#7E7335 #357E4F #35407E #7E3564
split-complementary
#7E7335 #35647E #4F357E
monochromatic
#282411 #534C23 #7E7335 #A99A47 #C1B46C

Accessibility & contrast

On white

4.78
#7E7335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E7335
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7335#FFFFFF#000000##FFFFFF
##7E73351.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e7335;
/* rgb */ color: rgb(126, 115, 53);
/* oklch */ color: oklch(55.2% 0.084 99.4);
Tailwind
colors: {
  custom: {
    50: '#a59b6e',
    500: '#7e7335',
    950: '#000000',
  },
}
SCSS
$custom: #7e7335;
$custom-light: #a59b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7335",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 53
  },
  "hsl": {
    "h": 50.959,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.08359,
    "h": 99.4
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#7E7335
secondary
#6570AA
accent
#69D157
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E7335

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

Preview Lab → · Contrast checker → · Palette generator →

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