#958A25#958A25

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

Color values

HEX#958A25
RGBrgb(149, 138, 37)
HSLhsl(54, 60%, 36%)
HSVhsv(54, 75%, 58%)
CMYKcmyk(0%, 7.4%, 75.2%, 41.6%)
CIE-LABlab(56.78, -7.57, 52.15)
CIE-LCHlch(56.78, 52.70, 98.26°)
OKLaboklab(62.49% -0.0264 0.1149)
OKLCHoklch(62.49% 0.118 102.9)
XYZxyz(21.8178, 24.7010, 5.3684)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958A25 #253095
analogous
#955225 #958A25 #689525
triadic
#958A25 #25958A #8A2595
tetradic
#958A25 #259552 #253095 #952568
square
#958A25 #259552 #253095 #952568
split-complementary
#958A25 #256895 #522595
monochromatic
#332F0D #645D19 #958A25 #C6B731 #D7CB5E

Accessibility & contrast

On white

3.54
#958A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##958A25#FFFFFF#000000##000000
##958A251.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978512
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#A18076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #958a25;
/* rgb */ color: rgb(149, 138, 37);
/* oklch */ color: oklch(62.5% 0.118 102.9);
Tailwind
colors: {
  custom: {
    50: '#b8ab67',
    500: '#958a25',
    950: '#000000',
  },
}
SCSS
$custom: #958a25;
$custom-light: #b8ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#958a25",
  "rgb": {
    "r": 149,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 54.107,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62485,
    "c": 0.11787,
    "h": 102.9
  },
  "luminance": 0.247
}

Semantic roles & 50–950 ramp

primary
#958A25
secondary
#5A64BC
accent
#54E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #958A25

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

Preview Lab → · Contrast checker → · Palette generator →

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