#9CA230#9CA230

#9CA230 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.134 H 112.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9CA230
RGBrgb(156, 162, 48)
HSLhsl(63, 54%, 41%)
HSVhsv(63, 70%, 64%)
CMYKcmyk(3.7%, 0%, 70.4%, 36.5%)
CIE-LABlab(64.26, -16.60, 55.47)
CIE-LCHlch(64.26, 57.90, 106.66°)
OKLaboklab(68.62% -0.051 0.1237)
OKLCHoklch(68.62% 0.134 112.4)
XYZxyz(27.1650, 33.1226, 7.7580)
Luminance0.3312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA230 #3630A2
analogous
#A26F30 #9CA230 #63A230
triadic
#9CA230 #309CA2 #A2309C
tetradic
#9CA230 #30A26F #3630A2 #A23063
square
#9CA230 #30A26F #3630A2 #A23063
split-complementary
#9CA230 #3063A2 #6F30A2
monochromatic
#414414 #6F7322 #9CA230 #C2C847 #D1D676

Accessibility & contrast

On white

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

On black

7.62
#9CA230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA230
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA230#FFFFFF#000000##000000
##9CA2301.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1D
Deuteranopia (green-blind)
#AF9D38
Tritanopia (blue-blind)
#A7988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca230;
/* rgb */ color: rgb(156, 162, 48);
/* oklch */ color: oklch(68.6% 0.134 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd70',
    500: '#9ca230',
    950: '#000000',
  },
}
SCSS
$custom: #9ca230;
$custom-light: #bcbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca230",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 63.158,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68619,
    "c": 0.13376,
    "h": 112.4
  },
  "luminance": 0.33122
}

Semantic roles & 50–950 ramp

primary
#9CA230
secondary
#746FBE
accent
#4ADE52
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA230

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

Preview Lab → · Contrast checker → · Palette generator →

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