#958D27#958D27

#958D27 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.119 H 104.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#958D27
RGBrgb(149, 141, 39)
HSLhsl(56, 59%, 37%)
HSVhsv(56, 74%, 58%)
CMYKcmyk(0%, 5.4%, 73.8%, 41.6%)
CIE-LABlab(57.64, -9.10, 52.22)
CIE-LCHlch(57.64, 53.01, 99.89°)
OKLaboklab(63.17% -0.0305 0.1154)
OKLCHoklch(63.17% 0.119 104.8)
XYZxyz(22.2864, 25.5867, 5.6838)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958D27 #272F95
analogous
#955627 #958D27 #669527
triadic
#958D27 #27958D #8D2795
tetradic
#958D27 #279556 #272F95 #952766
square
#958D27 #279556 #272F95 #952766
split-complementary
#958D27 #276695 #562795
monochromatic
#34310E #645F1A #958D27 #C6BB34 #D6CD61

Accessibility & contrast

On white

3.43
#958D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#958D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958D27
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958D27#FFFFFF#000000##000000
##958D271.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#9D8C2E
Tritanopia (blue-blind)
#A08379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958d27;
/* rgb */ color: rgb(149, 141, 39);
/* oklch */ color: oklch(63.2% 0.119 104.8);
Tailwind
colors: {
  custom: {
    50: '#b7ae69',
    500: '#958d27',
    950: '#000000',
  },
}
SCSS
$custom: #958d27;
$custom-light: #b7ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#958d27",
  "rgb": {
    "r": 149,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 55.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63173,
    "c": 0.11938,
    "h": 104.8
  },
  "luminance": 0.25586
}

Semantic roles & 50–950 ramp

primary
#958D27
secondary
#5D64BB
accent
#51E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958D27

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

Preview Lab → · Contrast checker → · Palette generator →

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