#958B28#958B28

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

Color values

HEX#958B28
RGBrgb(149, 139, 40)
HSLhsl(54, 58%, 37%)
HSVhsv(54, 73%, 58%)
CMYKcmyk(0%, 6.7%, 73.2%, 41.6%)
CIE-LABlab(57.08, -7.97, 51.30)
CIE-LCHlch(57.08, 51.92, 98.83°)
OKLaboklab(62.73% -0.0272 0.1137)
OKLCHoklch(62.73% 0.117 103.4)
XYZxyz(22.0110, 25.0089, 5.6749)
Luminance0.2501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958B28 #283295
analogous
#955428 #958B28 #699528
triadic
#958B28 #28958B #8B2895
tetradic
#958B28 #289554 #283295 #952869
square
#958B28 #289554 #283295 #952869
split-complementary
#958B28 #286995 #542895
monochromatic
#35310E #655E1B #958B28 #C5B835 #D5CA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##958B28#FFFFFF#000000##000000
##958B281.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)
#988617
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#A08178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #958b28;
/* rgb */ color: rgb(149, 139, 40);
/* oklch */ color: oklch(62.7% 0.117 103.4);
Tailwind
colors: {
  custom: {
    50: '#b7ac69',
    500: '#958b28',
    950: '#000000',
  },
}
SCSS
$custom: #958b28;
$custom-light: #b7ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#958b28",
  "rgb": {
    "r": 149,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 54.495,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62731,
    "c": 0.11686,
    "h": 103.4
  },
  "luminance": 0.25008
}

Semantic roles & 50–950 ramp

primary
#958B28
secondary
#5E67BB
accent
#55E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958B28

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

Preview Lab → · Contrast checker → · Palette generator →

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