#9CA128#9CA128

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

Color values

HEX#9CA128
RGBrgb(156, 161, 40)
HSLhsl(62, 60%, 39%)
HSVhsv(62, 75%, 63%)
CMYKcmyk(3.1%, 0%, 75.2%, 36.9%)
CIE-LABlab(63.93, -16.48, 58.04)
CIE-LCHlch(63.93, 60.33, 105.85°)
OKLaboklab(68.34% -0.0514 0.1277)
OKLCHoklch(68.34% 0.138 111.9)
XYZxyz(26.8391, 32.7115, 6.9072)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA128 #2D28A1
analogous
#A16928 #9CA128 #60A128
triadic
#9CA128 #289CA1 #A1289C
tetradic
#9CA128 #28A169 #2D28A1 #A12860
square
#9CA128 #28A169 #2D28A1 #A12860
split-complementary
#9CA128 #2860A1 #6928A1
monochromatic
#3D3F10 #6D701C #9CA128 #C8CE39 #D5DA6A

Accessibility & contrast

On white

2.78
#9CA128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#9CA128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA128
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA128#FFFFFF#000000##000000
##9CA1281.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990D
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#A7978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca128;
/* rgb */ color: rgb(156, 161, 40);
/* oklch */ color: oklch(68.3% 0.138 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbc6c',
    500: '#9ca128',
    950: '#000000',
  },
}
SCSS
$custom: #9ca128;
$custom-light: #bdbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca128",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 62.479,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68337,
    "c": 0.13764,
    "h": 111.9
  },
  "luminance": 0.32711
}

Semantic roles & 50–950 ramp

primary
#9CA128
secondary
#6865C0
accent
#44E34B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA128

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

Preview Lab → · Contrast checker → · Palette generator →

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