#958B27#958B27

#958B27 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.7% C 0.118 H 103.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#958B27
RGBrgb(149, 139, 39)
HSLhsl(55, 59%, 37%)
HSVhsv(55, 74%, 58%)
CMYKcmyk(0%, 6.7%, 73.8%, 41.6%)
CIE-LABlab(57.08, -8.02, 51.68)
CIE-LCHlch(57.08, 52.30, 98.82°)
OKLaboklab(62.72% -0.0274 0.1143)
OKLCHoklch(62.72% 0.118 103.5)
XYZxyz(21.9942, 25.0022, 5.5864)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958B27 #273195
analogous
#955427 #958B27 #689527
triadic
#958B27 #27958B #8B2795
tetradic
#958B27 #279554 #273195 #952768
square
#958B27 #279554 #273195 #952768
split-complementary
#958B27 #276895 #542795
monochromatic
#34310E #645E1A #958B27 #C6B834 #D6CB61

Accessibility & contrast

On white

3.50
#958B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#958B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958B27
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958B27#FFFFFF#000000##000000
##958B271.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988615
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#A08177
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #958b27;
/* rgb */ color: rgb(149, 139, 39);
/* oklch */ color: oklch(62.7% 0.118 103.5);
Tailwind
colors: {
  custom: {
    50: '#b7ac68',
    500: '#958b27',
    950: '#000000',
  },
}
SCSS
$custom: #958b27;
$custom-light: #b7ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#958b27",
  "rgb": {
    "r": 149,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 54.545,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62723,
    "c": 0.11752,
    "h": 103.5
  },
  "luminance": 0.25001
}

Semantic roles & 50–950 ramp

primary
#958B27
secondary
#5D65BB
accent
#54E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958B27

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

Preview Lab → · Contrast checker → · Palette generator →

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