#9CA258#9CA258

#9CA258 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.098 H 112.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9CA258
RGBrgb(156, 162, 88)
HSLhsl(65, 30%, 49%)
HSVhsv(65, 46%, 64%)
CMYKcmyk(3.7%, 0%, 45.7%, 36.5%)
CIE-LABlab(64.65, -13.41, 37.58)
CIE-LCHlch(64.65, 39.90, 109.64°)
OKLaboklab(69.06% -0.0378 0.0902)
OKLCHoklch(69.06% 0.098 112.7)
XYZxyz(28.3925, 33.6136, 14.2230)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA258 #5E58A2
analogous
#A28358 #9CA258 #77A258
triadic
#9CA258 #589CA2 #A2589C
tetradic
#9CA258 #58A283 #5E58A2 #A25877
square
#9CA258 #58A283 #5E58A2 #A25877
split-complementary
#9CA258 #5877A2 #8358A2
monochromatic
#50532D #767A42 #9CA258 #B4B97E #CBCFA6

Accessibility & contrast

On white

2.72
#9CA258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#9CA258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA258
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA258#FFFFFF#000000##000000
##9CA2581.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C52
Deuteranopia (green-blind)
#AC9E5C
Tritanopia (blue-blind)
#A49A91
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca258;
/* rgb */ color: rgb(156, 162, 88);
/* oklch */ color: oklch(69.1% 0.098 112.7);
Tailwind
colors: {
  custom: {
    50: '#babd89',
    500: '#9ca258',
    950: '#000000',
  },
}
SCSS
$custom: #9ca258;
$custom-light: #babd89;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca258",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 64.865,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69062,
    "c": 0.09779,
    "h": 112.7
  },
  "luminance": 0.33613
}

Semantic roles & 50–950 ramp

primary
#9CA258
secondary
#9C99BC
accent
#62C66A
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA258

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

Preview Lab → · Contrast checker → · Palette generator →

#9CA258 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva