#7E835B#7E835B

#7E835B is a mid, muted yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.058 H 114.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7E835B
RGBrgb(126, 131, 91)
HSLhsl(68, 18%, 44%)
HSVhsv(68, 31%, 51%)
CMYKcmyk(3.8%, 0%, 30.5%, 48.6%)
CIE-LABlab(53.41, -8.85, 21.06)
CIE-LCHlch(53.41, 22.85, 112.79°)
OKLaboklab(59.52% -0.0234 0.0527)
OKLCHoklch(59.52% 0.058 114)
XYZxyz(18.6088, 21.4237, 13.0504)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E835B #605B83
analogous
#83745B #7E835B #6A835B
triadic
#7E835B #5B7E83 #835B7E
tetradic
#7E835B #5B8374 #605B83 #835B6A
square
#7E835B #5B8374 #605B83 #835B6A
split-complementary
#7E835B #5B6A83 #745B83
monochromatic
#393B29 #5B5F42 #7E835B #9DA279 #B7BB9D

Accessibility & contrast

On white

3.97
#7E835B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7E835B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E835B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E835B#FFFFFF#000000##000000
##7E835B1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F58
Deuteranopia (green-blind)
#88805D
Tritanopia (blue-blind)
#837E79
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e835b;
/* rgb */ color: rgb(126, 131, 91);
/* oklch */ color: oklch(59.5% 0.058 114.0);
Tailwind
colors: {
  custom: {
    50: '#a4a789',
    500: '#7e835b',
    950: '#000000',
  },
}
SCSS
$custom: #7e835b;
$custom-light: #a4a789;
$custom-dark: #000000;
JSON
{
  "hex": "#7e835b",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 91
  },
  "hsl": {
    "h": 67.5,
    "s": 18.018,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.05766,
    "h": 114
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#7E835B
secondary
#9491A9
accent
#6DBB77
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F0F0B
muted
#7F7F7C

Preview Lab

Preview with #7E835B

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

Preview Lab → · Contrast checker → · Palette generator →

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