#9CA118#9CA118

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

Color values

HEX#9CA118
RGBrgb(156, 161, 24)
HSLhsl(62, 74%, 36%)
HSVhsv(62, 85%, 63%)
CMYKcmyk(3.1%, 0%, 85.1%, 36.9%)
CIE-LABlab(63.86, -17.07, 62.61)
CIE-LCHlch(63.86, 64.89, 105.25°)
OKLaboklab(68.26% -0.0543 0.1346)
OKLCHoklch(68.26% 0.145 112)
XYZxyz(26.6210, 32.6243, 5.7588)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA118 #1D18A1
analogous
#A16218 #9CA118 #58A118
triadic
#9CA118 #189CA1 #A1189C
tetradic
#9CA118 #18A162 #1D18A1 #A11858
square
#9CA118 #18A162 #1D18A1 #A11858
split-complementary
#9CA118 #1858A1 #6218A1
monochromatic
#353608 #686C10 #9CA118 #D0D620 #DFE54F

Accessibility & contrast

On white

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

On black

7.52
#9CA118 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA118
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA118#FFFFFF#000000##000000
##9CA1181.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca118;
/* rgb */ color: rgb(156, 161, 24);
/* oklch */ color: oklch(68.3% 0.145 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbc65',
    500: '#9ca118',
    950: '#000000',
  },
}
SCSS
$custom: #9ca118;
$custom-light: #bdbc65;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca118",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 62.19,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.68257,
    "c": 0.14509,
    "h": 112
  },
  "luminance": 0.32624
}

Semantic roles & 50–950 ramp

primary
#9CA118
secondary
#524EC7
accent
#37F13E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9CA118

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

Preview Lab → · Contrast checker → · Palette generator →

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