#9CA827#9CA827

#9CA827 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.146 H 115.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9CA827
RGBrgb(156, 168, 39)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 77%, 66%)
CMYKcmyk(7.1%, 0%, 76.8%, 34.1%)
CIE-LABlab(65.92, -20.09, 60.22)
CIE-LCHlch(65.92, 63.49, 108.45°)
OKLaboklab(69.93% -0.0615 0.1321)
OKLCHoklch(69.93% 0.146 115)
XYZxyz(28.0800, 35.2202, 7.2380)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA827 #3327A8
analogous
#A87327 #9CA827 #5CA827
triadic
#9CA827 #279CA8 #A8279C
tetradic
#9CA827 #27A873 #3327A8 #A8275C
square
#9CA827 #27A873 #3327A8 #A8275C
split-complementary
#9CA827 #275CA8 #7327A8
monochromatic
#404510 #6E761B #9CA827 #C3D13B #D3DD6C

Accessibility & contrast

On white

2.61
#9CA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9CA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA827
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA827#FFFFFF#000000##000000
##9CA8271.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F04
Deuteranopia (green-blind)
#B4A133
Tritanopia (blue-blind)
#A69E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca827;
/* rgb */ color: rgb(156, 168, 39);
/* oklch */ color: oklch(69.9% 0.146 115.0);
Tailwind
colors: {
  custom: {
    50: '#bdc16c',
    500: '#9ca827',
    950: '#000000',
  },
}
SCSS
$custom: #9ca827;
$custom-light: #bdc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca827",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 65.581,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69933,
    "c": 0.14573,
    "h": 115
  },
  "luminance": 0.3522
}

Semantic roles & 50–950 ramp

primary
#9CA827
secondary
#7067C3
accent
#42E552
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA827

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

Preview Lab → · Contrast checker → · Palette generator →

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