#958A28#958A28

#958A28 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.116 H 102.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#958A28
RGBrgb(149, 138, 40)
HSLhsl(54, 58%, 37%)
HSVhsv(54, 73%, 58%)
CMYKcmyk(0%, 7.4%, 73.2%, 41.6%)
CIE-LABlab(56.80, -7.43, 51.03)
CIE-LCHlch(56.80, 51.56, 98.28°)
OKLaboklab(62.51% -0.0256 0.1131)
OKLCHoklch(62.51% 0.116 102.8)
XYZxyz(21.8669, 24.7206, 5.6268)
Luminance0.2472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958A28 #283395
analogous
#955428 #958A28 #6A9528
triadic
#958A28 #28958A #8A2895
tetradic
#958A28 #289554 #283395 #95286A
square
#958A28 #289554 #283395 #95286A
split-complementary
#958A28 #286A95 #542895
monochromatic
#35310E #655D1B #958A28 #C5B735 #D5C962

Accessibility & contrast

On white

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

On black

5.94
#958A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958A28
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958A28#FFFFFF#000000##000000
##958A281.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978518
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#A18077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #958a28;
/* rgb */ color: rgb(149, 138, 40);
/* oklch */ color: oklch(62.5% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#b7ab69',
    500: '#958a28',
    950: '#000000',
  },
}
SCSS
$custom: #958a28;
$custom-light: #b7ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#958a28",
  "rgb": {
    "r": 149,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 53.945,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62507,
    "c": 0.11595,
    "h": 102.8
  },
  "luminance": 0.2472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #958A28

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

Preview Lab → · Contrast checker → · Palette generator →

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