#9CA234#9CA234

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

Color values

HEX#9CA234
RGBrgb(156, 162, 52)
HSLhsl(63, 51%, 42%)
HSVhsv(63, 68%, 64%)
CMYKcmyk(3.7%, 0%, 67.9%, 36.5%)
CIE-LABlab(64.29, -16.37, 53.92)
CIE-LCHlch(64.29, 56.35, 106.88°)
OKLaboklab(68.65% -0.0499 0.1211)
OKLCHoklch(68.65% 0.131 112.4)
XYZxyz(27.2513, 33.1571, 8.2126)
Luminance0.3316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA234 #3A34A2
analogous
#A27134 #9CA234 #65A234
triadic
#9CA234 #349CA2 #A2349C
tetradic
#9CA234 #34A271 #3A34A2 #A23465
square
#9CA234 #34A271 #3A34A2 #A23465
split-complementary
#9CA234 #3465A2 #7134A2
monochromatic
#434516 #6F7425 #9CA234 #BFC64D #D0D57C

Accessibility & contrast

On white

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

On black

7.63
#9CA234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA234
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA234#FFFFFF#000000##000000
##9CA2341.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B24
Deuteranopia (green-blind)
#AE9D3C
Tritanopia (blue-blind)
#A6988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca234;
/* rgb */ color: rgb(156, 162, 52);
/* oklch */ color: oklch(68.7% 0.131 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd72',
    500: '#9ca234',
    950: '#000000',
  },
}
SCSS
$custom: #9ca234;
$custom-light: #bcbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca234",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 63.273,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68651,
    "c": 0.13098,
    "h": 112.4
  },
  "luminance": 0.33157
}

Semantic roles & 50–950 ramp

primary
#9CA234
secondary
#7874BE
accent
#4DDB55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA234

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

Preview Lab → · Contrast checker → · Palette generator →

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