#9CAF27#9CAF27

#9CAF27 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.5% C 0.154 H 117.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#9CAF27
RGBrgb(156, 175, 39)
HSLhsl(68, 64%, 42%)
HSVhsv(68, 78%, 69%)
CMYKcmyk(10.9%, 0%, 77.7%, 31.4%)
CIE-LABlab(67.93, -23.58, 62.07)
CIE-LCHlch(67.93, 66.40, 110.81°)
OKLaboklab(71.55% -0.0712 0.136)
OKLCHoklch(71.55% 0.154 117.6)
XYZxyz(29.4072, 37.8747, 7.6804)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAF27 #3A27AF
analogous
#AF7E27 #9CAF27 #58AF27
triadic
#9CAF27 #279CAF #AF279C
tetradic
#9CAF27 #27AF7E #3A27AF #AF2758
square
#9CAF27 #27AF7E #3A27AF #AF2758
split-complementary
#9CAF27 #2758AF #7E27AF
monochromatic
#434B11 #6F7D1C #9CAF27 #BFD43F #D0DF71

Accessibility & contrast

On white

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

On black

8.57
#9CAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAF27
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAF27#FFFFFF#000000##000000
##9CAF271.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9caf27;
/* rgb */ color: rgb(156, 175, 39);
/* oklch */ color: oklch(71.5% 0.154 117.6);
Tailwind
colors: {
  custom: {
    50: '#bdc66d',
    500: '#9caf27',
    950: '#000000',
  },
}
SCSS
$custom: #9caf27;
$custom-light: #bdc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9caf27",
  "rgb": {
    "r": 156,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 68.382,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71546,
    "c": 0.15352,
    "h": 117.6
  },
  "luminance": 0.37874
}

Semantic roles & 50–950 ramp

primary
#9CAF27
secondary
#786BC6
accent
#41E758
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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