#9CAF2C#9CAF2C

#9CAF2C is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.151 H 117.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#9CAF2C
RGBrgb(156, 175, 44)
HSLhsl(69, 60%, 43%)
HSVhsv(69, 75%, 69%)
CMYKcmyk(10.9%, 0%, 74.9%, 31.4%)
CIE-LABlab(67.95, -23.36, 60.48)
CIE-LCHlch(67.95, 64.83, 111.12°)
OKLaboklab(71.58% -0.0701 0.1335)
OKLCHoklch(71.58% 0.151 117.7)
XYZxyz(29.4956, 37.9100, 8.1459)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAF2C #3F2CAF
analogous
#AF802C #9CAF2C #5BAF2C
triadic
#9CAF2C #2C9CAF #AF2C9C
tetradic
#9CAF2C #2CAF80 #3F2CAF #AF2C5B
square
#9CAF2C #2CAF80 #3F2CAF #AF2C5B
split-complementary
#9CAF2C #2C5BAF #802CAF
monochromatic
#454D13 #707E20 #9CAF2C #BDD147 #CEDD78

Accessibility & contrast

On white

2.45
#9CAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#9CAF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAF2C
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAF2C#FFFFFF#000000##000000
##9CAF2C1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA50E
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9caf2c;
/* rgb */ color: rgb(156, 175, 44);
/* oklch */ color: oklch(71.6% 0.151 117.7);
Tailwind
colors: {
  custom: {
    50: '#bdc66f',
    500: '#9caf2c',
    950: '#000000',
  },
}
SCSS
$custom: #9caf2c;
$custom-light: #bdc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9caf2c",
  "rgb": {
    "r": 156,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 68.702,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71576,
    "c": 0.15083,
    "h": 117.7
  },
  "luminance": 0.3791
}

Semantic roles & 50–950 ramp

primary
#9CAF2C
secondary
#7E72C5
accent
#45E35C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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