#9CAF26#9CAF26

#9CAF26 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#9CAF26
RGBrgb(156, 175, 38)
HSLhsl(68, 64%, 42%)
HSVhsv(68, 78%, 69%)
CMYKcmyk(10.9%, 0%, 78.3%, 31.4%)
CIE-LABlab(67.92, -23.63, 62.37)
CIE-LCHlch(67.92, 66.69, 110.75°)
OKLaboklab(71.54% -0.0713 0.1365)
OKLCHoklch(71.54% 0.154 117.6)
XYZxyz(29.3909, 37.8681, 7.5943)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAF26 #3926AF
analogous
#AF7E26 #9CAF26 #58AF26
triadic
#9CAF26 #269CAF #AF269C
tetradic
#9CAF26 #26AF7E #3926AF #AF2658
square
#9CAF26 #26AF7E #3926AF #AF2658
split-complementary
#9CAF26 #2658AF #7E26AF
monochromatic
#424A10 #6F7D1B #9CAF26 #C0D53D #D0E070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAF26#FFFFFF#000000##000000
##9CAF261.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)
#B9A633
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9caf26;
/* rgb */ color: rgb(156, 175, 38);
/* oklch */ color: oklch(71.5% 0.154 117.6);
Tailwind
colors: {
  custom: {
    50: '#bdc66d',
    500: '#9caf26',
    950: '#000000',
  },
}
SCSS
$custom: #9caf26;
$custom-light: #bdc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9caf26",
  "rgb": {
    "r": 156,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 68.321,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.15401,
    "h": 117.6
  },
  "luminance": 0.37868
}

Semantic roles & 50–950 ramp

primary
#9CAF26
secondary
#776AC7
accent
#40E758
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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