#9CA42E#9CA42E

#9CA42E is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.137 H 113.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9CA42E
RGBrgb(156, 164, 46)
HSLhsl(64, 56%, 41%)
HSVhsv(64, 72%, 64%)
CMYKcmyk(4.9%, 0%, 72%, 35.7%)
CIE-LABlab(64.82, -17.73, 56.76)
CIE-LCHlch(64.82, 59.47, 107.35°)
OKLaboklab(69.06% -0.0543 0.1261)
OKLCHoklch(69.06% 0.137 113.3)
XYZxyz(27.4797, 33.8167, 7.6639)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA42E #362EA4
analogous
#A4712E #9CA42E #61A42E
triadic
#9CA42E #2E9CA4 #A42E9C
tetradic
#9CA42E #2EA471 #362EA4 #A42E61
square
#9CA42E #2EA471 #362EA4 #A42E61
split-complementary
#9CA42E #2E61A4 #712EA4
monochromatic
#414413 #6F7421 #9CA42E #C2CB45 #D1D874

Accessibility & contrast

On white

2.71
#9CA42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#9CA42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA42E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA42E#FFFFFF#000000##000000
##9CA42E1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#A79A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca42e;
/* rgb */ color: rgb(156, 164, 46);
/* oklch */ color: oklch(69.1% 0.137 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe6f',
    500: '#9ca42e',
    950: '#000000',
  },
}
SCSS
$custom: #9ca42e;
$custom-light: #bcbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca42e",
  "rgb": {
    "r": 156,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 64.068,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69061,
    "c": 0.13726,
    "h": 113.3
  },
  "luminance": 0.33816
}

Semantic roles & 50–950 ramp

primary
#9CA42E
secondary
#746EC0
accent
#48DF53
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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