#9CA427#9CA427

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

Color values

HEX#9CA427
RGBrgb(156, 164, 39)
HSLhsl(64, 62%, 40%)
HSVhsv(64, 76%, 64%)
CMYKcmyk(4.9%, 0%, 76.2%, 35.7%)
CIE-LABlab(64.78, -18.06, 59.17)
CIE-LCHlch(64.78, 61.86, 106.98°)
OKLaboklab(69.02% -0.0559 0.1299)
OKLCHoklch(69.02% 0.141 113.3)
XYZxyz(27.3528, 33.7659, 6.9956)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA427 #2F27A4
analogous
#A46E27 #9CA427 #5EA427
triadic
#9CA427 #279CA4 #A4279C
tetradic
#9CA427 #27A46E #2F27A4 #A4275E
square
#9CA427 #27A46E #2F27A4 #A4275E
split-complementary
#9CA427 #275EA4 #6E27A4
monochromatic
#3E410F #6D731B #9CA427 #C6D038 #D4DC6A

Accessibility & contrast

On white

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

On black

7.75
#9CA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA427
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA427#FFFFFF#000000##000000
##9CA4271.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca427;
/* rgb */ color: rgb(156, 164, 39);
/* oklch */ color: oklch(69.0% 0.141 113.3);
Tailwind
colors: {
  custom: {
    50: '#bdbe6c',
    500: '#9ca427',
    950: '#000000',
  },
}
SCSS
$custom: #9ca427;
$custom-light: #bdbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca427",
  "rgb": {
    "r": 156,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 63.84,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69016,
    "c": 0.14139,
    "h": 113.3
  },
  "luminance": 0.33765
}

Semantic roles & 50–950 ramp

primary
#9CA427
secondary
#6B65C2
accent
#43E54D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA427

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

Preview Lab → · Contrast checker → · Palette generator →

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