#9CA823#9CA823

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

Color values

HEX#9CA823
RGBrgb(156, 168, 35)
HSLhsl(65, 66%, 40%)
HSVhsv(65, 79%, 66%)
CMYKcmyk(7.1%, 0%, 79.2%, 34.1%)
CIE-LABlab(65.90, -20.26, 61.44)
CIE-LCHlch(65.90, 64.70, 108.25°)
OKLaboklab(69.91% -0.0623 0.134)
OKLCHoklch(69.91% 0.148 114.9)
XYZxyz(28.0171, 35.1950, 6.9072)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA823 #2F23A8
analogous
#A87223 #9CA823 #59A823
triadic
#9CA823 #239CA8 #A8239C
tetradic
#9CA823 #23A872 #2F23A8 #A82359
square
#9CA823 #23A872 #2F23A8 #A82359
split-complementary
#9CA823 #2359A8 #7223A8
monochromatic
#3E430E #6D7518 #9CA823 #C6D534 #D4DF66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA823#FFFFFF#000000##000000
##9CA8231.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)
#B59F00
Deuteranopia (green-blind)
#B4A130
Tritanopia (blue-blind)
#A79E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ca823;
/* rgb */ color: rgb(156, 168, 35);
/* oklch */ color: oklch(69.9% 0.148 114.9);
Tailwind
colors: {
  custom: {
    50: '#bdc16a',
    500: '#9ca823',
    950: '#000000',
  },
}
SCSS
$custom: #9ca823;
$custom-light: #bdc16a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca823",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 65.414,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69911,
    "c": 0.14777,
    "h": 114.9
  },
  "luminance": 0.35195
}

Semantic roles & 50–950 ramp

primary
#9CA823
secondary
#6B62C5
accent
#3FE84F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA823

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

Preview Lab → · Contrast checker → · Palette generator →

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