#958C27#958C27

#958C27 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.9% C 0.118 H 104.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#958C27
RGBrgb(149, 140, 39)
HSLhsl(55, 59%, 37%)
HSVhsv(55, 74%, 58%)
CMYKcmyk(0%, 6%, 73.8%, 41.6%)
CIE-LABlab(57.36, -8.56, 51.95)
CIE-LCHlch(57.36, 52.65, 99.36°)
OKLaboklab(62.95% -0.0289 0.1149)
OKLCHoklch(62.95% 0.118 104.1)
XYZxyz(22.1397, 25.2931, 5.6349)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958C27 #273095
analogous
#955527 #958C27 #679527
triadic
#958C27 #27958C #8C2795
tetradic
#958C27 #279555 #273095 #952767
square
#958C27 #279555 #273095 #952767
split-complementary
#958C27 #276795 #552795
monochromatic
#34310E #645E1A #958C27 #C6BA34 #D6CC61

Accessibility & contrast

On white

3.47
#958C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#958C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958C27
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958C27#FFFFFF#000000##000000
##958C271.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#A08278
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #958c27;
/* rgb */ color: rgb(149, 140, 39);
/* oklch */ color: oklch(62.9% 0.118 104.1);
Tailwind
colors: {
  custom: {
    50: '#b7ad69',
    500: '#958c27',
    950: '#000000',
  },
}
SCSS
$custom: #958c27;
$custom-light: #b7ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#958c27",
  "rgb": {
    "r": 149,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 55.091,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62948,
    "c": 0.11844,
    "h": 104.1
  },
  "luminance": 0.25292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #958C27

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

Preview Lab → · Contrast checker → · Palette generator →

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