#958A2F#958A2F

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

Color values

HEX#958A2F
RGBrgb(149, 138, 47)
HSLhsl(54, 52%, 38%)
HSVhsv(54, 68%, 58%)
CMYKcmyk(0%, 7.4%, 68.5%, 41.6%)
CIE-LABlab(56.85, -7.04, 48.21)
CIE-LCHlch(56.85, 48.72, 98.31°)
OKLaboklab(62.56% -0.0238 0.1084)
OKLCHoklch(62.56% 0.111 102.4)
XYZxyz(21.9969, 24.7727, 6.3117)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958A2F #2F3A95
analogous
#95572F #958A2F #6D952F
triadic
#958A2F #2F958A #8A2F95
tetradic
#958A2F #2F9557 #2F3A95 #952F6D
square
#958A2F #2F9557 #2F3A95 #952F6D
split-complementary
#958A2F #2F6D95 #572F95
monochromatic
#383412 #665F20 #958A2F #C2B43F #D1C66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##958A2F#FFFFFF#000000##000000
##958A2F1.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)
#978623
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#A08077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #958a2f;
/* rgb */ color: rgb(149, 138, 47);
/* oklch */ color: oklch(62.6% 0.111 102.4);
Tailwind
colors: {
  custom: {
    50: '#b7ab6d',
    500: '#958a2f',
    950: '#000000',
  },
}
SCSS
$custom: #958a2f;
$custom-light: #b7ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#958a2f",
  "rgb": {
    "r": 149,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 53.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62564,
    "c": 0.11098,
    "h": 102.4
  },
  "luminance": 0.24772
}

Semantic roles & 50–950 ramp

primary
#958A2F
secondary
#6770B8
accent
#5CDB4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #958A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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