#9CAF2E#9CAF2E

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

Color values

HEX#9CAF2E
RGBrgb(156, 175, 46)
HSLhsl(69, 58%, 43%)
HSVhsv(69, 74%, 69%)
CMYKcmyk(10.9%, 0%, 73.7%, 31.4%)
CIE-LABlab(67.97, -23.26, 59.80)
CIE-LCHlch(67.97, 64.17, 111.25°)
OKLaboklab(71.59% -0.0697 0.1325)
OKLCHoklch(71.59% 0.15 117.7)
XYZxyz(29.5341, 37.9254, 8.3487)
Luminance0.3792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAF2E #412EAF
analogous
#AF812E #9CAF2E #5BAF2E
triadic
#9CAF2E #2E9CAF #AF2E9C
tetradic
#9CAF2E #2EAF81 #412EAF #AF2E5B
square
#9CAF2E #2EAF81 #412EAF #AF2E5B
split-complementary
#9CAF2E #2E5BAF #812EAF
monochromatic
#464E15 #717F21 #9CAF2E #BCD04B #CEDC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAF2E#FFFFFF#000000##000000
##9CAF2E1.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)
#BBA514
Deuteranopia (green-blind)
#B9A639
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9caf2e;
/* rgb */ color: rgb(156, 175, 46);
/* oklch */ color: oklch(71.6% 0.150 117.7);
Tailwind
colors: {
  custom: {
    50: '#bdc670',
    500: '#9caf2e',
    950: '#000000',
  },
}
SCSS
$custom: #9caf2e;
$custom-light: #bdc670;
$custom-dark: #000000;
JSON
{
  "hex": "#9caf2e",
  "rgb": {
    "r": 156,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 68.837,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71588,
    "c": 0.14966,
    "h": 117.7
  },
  "luminance": 0.37925
}

Semantic roles & 50–950 ramp

primary
#9CAF2E
secondary
#8074C5
accent
#46E25D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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