#9CA237#9CA237

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

Color values

HEX#9CA237
RGBrgb(156, 162, 55)
HSLhsl(63, 49%, 43%)
HSVhsv(63, 66%, 64%)
CMYKcmyk(3.7%, 0%, 66%, 36.5%)
CIE-LABlab(64.31, -16.18, 52.72)
CIE-LCHlch(64.31, 55.15, 107.06°)
OKLaboklab(68.68% -0.0491 0.119)
OKLCHoklch(68.68% 0.129 112.4)
XYZxyz(27.3210, 33.1850, 8.5798)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA237 #3D37A2
analogous
#A27237 #9CA237 #67A237
triadic
#9CA237 #379CA2 #A2379C
tetradic
#9CA237 #37A272 #3D37A2 #A23767
square
#9CA237 #37A272 #3D37A2 #A23767
split-complementary
#9CA237 #3767A2 #7237A2
monochromatic
#444718 #707427 #9CA237 #BEC452 #CFD480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA237#FFFFFF#000000##000000
##9CA2371.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)
#AE9B28
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#A6988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca237;
/* rgb */ color: rgb(156, 162, 55);
/* oklch */ color: oklch(68.7% 0.129 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd74',
    500: '#9ca237',
    950: '#000000',
  },
}
SCSS
$custom: #9ca237;
$custom-light: #bcbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca237",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 63.364,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68676,
    "c": 0.12877,
    "h": 112.4
  },
  "luminance": 0.33184
}

Semantic roles & 50–950 ramp

primary
#9CA237
secondary
#7C78BD
accent
#4FD957
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA237

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

Preview Lab → · Contrast checker → · Palette generator →

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