#958A2E#958A2E

#958A2E is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.6% C 0.112 H 102.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#958A2E
RGBrgb(149, 138, 46)
HSLhsl(54, 53%, 38%)
HSVhsv(54, 69%, 58%)
CMYKcmyk(0%, 7.4%, 69.1%, 41.6%)
CIE-LABlab(56.85, -7.10, 48.62)
CIE-LCHlch(56.85, 49.14, 98.31°)
OKLaboklab(62.56% -0.024 0.1091)
OKLCHoklch(62.56% 0.112 102.4)
XYZxyz(21.9770, 24.7647, 6.2067)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958A2E #2E3995
analogous
#95562E #958A2E #6C952E
triadic
#958A2E #2E958A #8A2E95
tetradic
#958A2E #2E9556 #2E3995 #952E6C
square
#958A2E #2E9556 #2E3995 #952E6C
split-complementary
#958A2E #2E6C95 #562E95
monochromatic
#373311 #665F20 #958A2E #C3B53D #D2C76C

Accessibility & contrast

On white

3.53
#958A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#958A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958A2E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958A2E#FFFFFF#000000##000000
##958A2E1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#A08077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #958a2e;
/* rgb */ color: rgb(149, 138, 46);
/* oklch */ color: oklch(62.6% 0.112 102.4);
Tailwind
colors: {
  custom: {
    50: '#b7ab6c',
    500: '#958a2e',
    950: '#000000',
  },
}
SCSS
$custom: #958a2e;
$custom-light: #b7ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#958a2e",
  "rgb": {
    "r": 149,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 53.592,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.11173,
    "h": 102.4
  },
  "luminance": 0.24764
}

Semantic roles & 50–950 ramp

primary
#958A2E
secondary
#666FB9
accent
#5BDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #958A2E

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

Preview Lab → · Contrast checker → · Palette generator →

#958A2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva