#9CA239#9CA239

#9CA239 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.127 H 112.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9CA239
RGBrgb(156, 162, 57)
HSLhsl(63, 48%, 43%)
HSVhsv(63, 65%, 64%)
CMYKcmyk(3.7%, 0%, 64.8%, 36.5%)
CIE-LABlab(64.33, -16.06, 51.90)
CIE-LCHlch(64.33, 54.33, 107.19°)
OKLaboklab(68.69% -0.0485 0.1176)
OKLCHoklch(68.69% 0.127 112.4)
XYZxyz(27.3699, 33.2046, 8.8374)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA239 #3F39A2
analogous
#A27439 #9CA239 #67A239
triadic
#9CA239 #399CA2 #A2399C
tetradic
#9CA239 #39A274 #3F39A2 #A23967
square
#9CA239 #39A274 #3F39A2 #A23967
split-complementary
#9CA239 #3967A2 #7439A2
monochromatic
#454719 #707529 #9CA239 #BDC355 #CED382

Accessibility & contrast

On white

2.75
#9CA239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#9CA239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA239
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA239#FFFFFF#000000##000000
##9CA2391.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2B
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#A6998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca239;
/* rgb */ color: rgb(156, 162, 57);
/* oklch */ color: oklch(68.7% 0.127 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd75',
    500: '#9ca239',
    950: '#000000',
  },
}
SCSS
$custom: #9ca239;
$custom-light: #bcbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca239",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 63.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68693,
    "c": 0.12724,
    "h": 112.4
  },
  "luminance": 0.33204
}

Semantic roles & 50–950 ramp

primary
#9CA239
secondary
#7E7ABD
accent
#50D858
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA239

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

Preview Lab → · Contrast checker → · Palette generator →

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