#958E27#958E27

#958E27 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.120 H 105.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#958E27
RGBrgb(149, 142, 39)
HSLhsl(56, 59%, 37%)
HSVhsv(56, 74%, 58%)
CMYKcmyk(0%, 4.7%, 73.8%, 41.6%)
CIE-LABlab(57.93, -9.64, 52.50)
CIE-LCHlch(57.93, 53.37, 100.41°)
OKLaboklab(63.4% -0.032 0.116)
OKLCHoklch(63.4% 0.12 105.4)
XYZxyz(22.4346, 25.8829, 5.7332)
Luminance0.2588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958E27 #272E95
analogous
#955727 #958E27 #659527
triadic
#958E27 #27958E #8E2795
tetradic
#958E27 #279557 #272E95 #952765
square
#958E27 #279557 #272E95 #952765
split-complementary
#958E27 #276595 #572795
monochromatic
#34320E #64601A #958E27 #C6BC34 #D6CE61

Accessibility & contrast

On white

3.40
#958E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#958E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958E27
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958E27#FFFFFF#000000##000000
##958E271.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#A0847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #958e27;
/* rgb */ color: rgb(149, 142, 39);
/* oklch */ color: oklch(63.4% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#b7ae69',
    500: '#958e27',
    950: '#000000',
  },
}
SCSS
$custom: #958e27;
$custom-light: #b7ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#958e27",
  "rgb": {
    "r": 149,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 56.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63398,
    "c": 0.12033,
    "h": 105.4
  },
  "luminance": 0.25882
}

Semantic roles & 50–950 ramp

primary
#958E27
secondary
#5D63BB
accent
#50E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #958E27

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

Preview Lab → · Contrast checker → · Palette generator →

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