#958227#958227

#958227 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.7% C 0.110 H 97.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#958227
RGBrgb(149, 130, 39)
HSLhsl(50, 59%, 37%)
HSVhsv(50, 74%, 58%)
CMYKcmyk(0%, 12.8%, 73.8%, 41.6%)
CIE-LABlab(54.56, -3.08, 49.23)
CIE-LCHlch(54.56, 49.32, 93.58°)
OKLaboklab(60.72% -0.0134 0.1091)
OKLCHoklch(60.72% 0.11 97)
XYZxyz(20.7443, 22.5024, 5.1698)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958227 #273A95
analogous
#954B27 #958227 #719527
triadic
#958227 #279582 #822795
tetradic
#958227 #27954B #273A95 #952771
square
#958227 #27954B #273A95 #952771
split-complementary
#958227 #277195 #4B2795
monochromatic
#342D0E #64581A #958227 #C6AC34 #D6C161

Accessibility & contrast

On white

3.82
#958227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#958227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958227
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958227#FFFFFF#000000##000000
##9582271.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#A17870
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #958227;
/* rgb */ color: rgb(149, 130, 39);
/* oklch */ color: oklch(60.7% 0.110 97.0);
Tailwind
colors: {
  custom: {
    50: '#b8a668',
    500: '#958227',
    950: '#000000',
  },
}
SCSS
$custom: #958227;
$custom-light: #b8a668;
$custom-dark: #000000;
JSON
{
  "hex": "#958227",
  "rgb": {
    "r": 149,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 49.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60722,
    "c": 0.1099,
    "h": 97
  },
  "luminance": 0.22501
}

Semantic roles & 50–950 ramp

primary
#958227
secondary
#5D6DBB
accent
#61E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958227

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

Preview Lab → · Contrast checker → · Palette generator →

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