#958F2A#958F2A

#958F2A is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.6% C 0.119 H 105.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#958F2A
RGBrgb(149, 143, 42)
HSLhsl(57, 56%, 37%)
HSVhsv(57, 72%, 58%)
CMYKcmyk(0%, 4%, 71.8%, 41.6%)
CIE-LABlab(58.23, -10.03, 51.64)
CIE-LCHlch(58.23, 52.60, 100.99°)
OKLaboklab(63.65% -0.0328 0.1148)
OKLCHoklch(63.65% 0.119 105.9)
XYZxyz(22.6357, 26.2025, 6.0553)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958F2A #2A3095
analogous
#955A2A #958F2A #65952A
triadic
#958F2A #2A958F #8F2A95
tetradic
#958F2A #2A955A #2A3095 #952A65
square
#958F2A #2A955A #2A3095 #952A65
split-complementary
#958F2A #2A6595 #5A2A95
monochromatic
#36330F #65611D #958F2A #C5BD37 #D4CE66

Accessibility & contrast

On white

3.37
#958F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#958F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958F2A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958F2A#FFFFFF#000000##000000
##958F2A1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A19
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A0857B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #958f2a;
/* rgb */ color: rgb(149, 143, 42);
/* oklch */ color: oklch(63.6% 0.119 105.9);
Tailwind
colors: {
  custom: {
    50: '#b7af6b',
    500: '#958f2a',
    950: '#000000',
  },
}
SCSS
$custom: #958f2a;
$custom-light: #b7af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#958f2a",
  "rgb": {
    "r": 149,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 56.636,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63646,
    "c": 0.11934,
    "h": 105.9
  },
  "luminance": 0.26202
}

Semantic roles & 50–950 ramp

primary
#958F2A
secondary
#6166BA
accent
#51DF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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