#958E2F#958E2F

#958E2F is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.115 H 105.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#958E2F
RGBrgb(149, 142, 47)
HSLhsl(56, 52%, 38%)
HSVhsv(56, 68%, 58%)
CMYKcmyk(0%, 4.7%, 68.5%, 41.6%)
CIE-LABlab(57.98, -9.21, 49.36)
CIE-LCHlch(57.98, 50.21, 100.57°)
OKLaboklab(63.46% -0.0299 0.1108)
OKLCHoklch(63.46% 0.115 105.1)
XYZxyz(22.5814, 25.9416, 6.5065)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958E2F #2F3695
analogous
#955B2F #958E2F #69952F
triadic
#958E2F #2F958E #8E2F95
tetradic
#958E2F #2F955B #2F3695 #952F69
square
#958E2F #2F955B #2F3695 #952F69
split-complementary
#958E2F #2F6995 #5B2F95
monochromatic
#383512 #666220 #958E2F #C2B93F #D1CA6D

Accessibility & contrast

On white

3.39
#958E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#958E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958E2F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958E2F#FFFFFF#000000##000000
##958E2F1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#A0847B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958e2f;
/* rgb */ color: rgb(149, 142, 47);
/* oklch */ color: oklch(63.5% 0.115 105.1);
Tailwind
colors: {
  custom: {
    50: '#b7ae6d',
    500: '#958e2f',
    950: '#000000',
  },
}
SCSS
$custom: #958e2f;
$custom-light: #b7ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#958e2f",
  "rgb": {
    "r": 149,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 55.882,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63461,
    "c": 0.1148,
    "h": 105.1
  },
  "luminance": 0.25941
}

Semantic roles & 50–950 ramp

primary
#958E2F
secondary
#676DB8
accent
#56DB4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #958E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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