#9CA11F#9CA11F

#9CA11F is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.142 H 112.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9CA11F
RGBrgb(156, 161, 31)
HSLhsl(62, 68%, 38%)
HSVhsv(62, 81%, 63%)
CMYKcmyk(3.1%, 0%, 80.7%, 36.9%)
CIE-LABlab(63.88, -16.84, 60.81)
CIE-LCHlch(63.88, 63.10, 105.48°)
OKLaboklab(68.29% -0.0532 0.1319)
OKLCHoklch(68.29% 0.142 112)
XYZxyz(26.7034, 32.6573, 6.1929)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA11F #241FA1
analogous
#A1651F #9CA11F #5BA11F
triadic
#9CA11F #1F9CA1 #A11F9C
tetradic
#9CA11F #1FA165 #241FA1 #A11F5B
square
#9CA11F #1FA165 #241FA1 #A11F5B
split-complementary
#9CA11F #1F5BA1 #651FA1
monochromatic
#393A0B #6A6E15 #9CA11F #CED429 #DADF5B

Accessibility & contrast

On white

2.79
#9CA11F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9CA11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA11F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA11F#FFFFFF#000000##000000
##9CA11F1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C2B
Tritanopia (blue-blind)
#A79789
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca11f;
/* rgb */ color: rgb(156, 161, 31);
/* oklch */ color: oklch(68.3% 0.142 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbc68',
    500: '#9ca11f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca11f;
$custom-light: #bdbc68;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca11f",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 62.308,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.68288,
    "c": 0.14223,
    "h": 112
  },
  "luminance": 0.32657
}

Semantic roles & 50–950 ramp

primary
#9CA11F
secondary
#5C58C4
accent
#3DEB44
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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