#958727#958727

#958727 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.114 H 100.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#958727
RGBrgb(149, 135, 39)
HSLhsl(52, 59%, 37%)
HSVhsv(52, 74%, 58%)
CMYKcmyk(0%, 9.4%, 73.8%, 41.6%)
CIE-LABlab(55.95, -5.84, 50.59)
CIE-LCHlch(55.95, 50.92, 96.58°)
OKLaboklab(61.83% -0.0213 0.112)
OKLCHoklch(61.83% 0.114 100.8)
XYZxyz(21.4256, 23.8650, 5.3969)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958727 #273595
analogous
#955027 #958727 #6C9527
triadic
#958727 #279587 #872795
tetradic
#958727 #279550 #273595 #95276C
square
#958727 #279550 #273595 #95276C
split-complementary
#958727 #276C95 #502795
monochromatic
#342F0E #645B1A #958727 #C6B334 #D6C761

Accessibility & contrast

On white

3.64
#958727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#958727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958727
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958727#FFFFFF#000000##000000
##9587271.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#A17D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #958727;
/* rgb */ color: rgb(149, 135, 39);
/* oklch */ color: oklch(61.8% 0.114 100.8);
Tailwind
colors: {
  custom: {
    50: '#b8a968',
    500: '#958727',
    950: '#000000',
  },
}
SCSS
$custom: #958727;
$custom-light: #b8a968;
$custom-dark: #000000;
JSON
{
  "hex": "#958727",
  "rgb": {
    "r": 149,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 52.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.11397,
    "h": 100.8
  },
  "luminance": 0.23864
}

Semantic roles & 50–950 ramp

primary
#958727
secondary
#5D69BB
accent
#5AE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958727

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

Preview Lab → · Contrast checker → · Palette generator →

#958727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva