#7E7635#7E7635

#7E7635 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.9% C 0.087 H 102.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E7635
RGBrgb(126, 118, 53)
HSLhsl(53, 41%, 35%)
HSVhsv(53, 58%, 49%)
CMYKcmyk(0%, 6.3%, 57.9%, 50.6%)
CIE-LABlab(49.07, -5.98, 36.31)
CIE-LCHlch(49.07, 36.80, 99.35°)
OKLaboklab(55.89% -0.0185 0.0846)
OKLCHoklch(55.89% 0.087 102.3)
XYZxyz(15.7257, 17.6501, 5.9459)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7635 #353D7E
analogous
#7E5235 #7E7635 #617E35
triadic
#7E7635 #357E76 #76357E
tetradic
#7E7635 #357E52 #353D7E #7E3561
square
#7E7635 #357E52 #353D7E #7E3561
split-complementary
#7E7635 #35617E #52357E
monochromatic
#282511 #534E23 #7E7635 #A99E47 #C1B86C

Accessibility & contrast

On white

4.64
#7E7635 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7E7635 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7635
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7635#FFFFFF#000000##FFFFFF
##7E76351.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732F
Deuteranopia (green-blind)
#827638
Tritanopia (blue-blind)
#876F68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7635;
/* rgb */ color: rgb(126, 118, 53);
/* oklch */ color: oklch(55.9% 0.087 102.3);
Tailwind
colors: {
  custom: {
    50: '#a59d6e',
    500: '#7e7635',
    950: '#000000',
  },
}
SCSS
$custom: #7e7635;
$custom-light: #a59d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7635",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 53
  },
  "hsl": {
    "h": 53.425,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.08662,
    "h": 102.3
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#7E7635
secondary
#656DAA
accent
#64D157
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E7635

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

Preview Lab → · Contrast checker → · Palette generator →

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