#9CA23D#9CA23D

#9CA23D is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.124 H 112.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9CA23D
RGBrgb(156, 162, 61)
HSLhsl(64, 45%, 44%)
HSVhsv(64, 62%, 64%)
CMYKcmyk(3.7%, 0%, 62.3%, 36.5%)
CIE-LABlab(64.36, -15.78, 50.21)
CIE-LCHlch(64.36, 52.63, 107.45°)
OKLaboklab(68.73% -0.0473 0.1146)
OKLCHoklch(68.73% 0.124 112.4)
XYZxyz(27.4737, 33.2461, 9.3838)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA23D #433DA2
analogous
#A2753D #9CA23D #69A23D
triadic
#9CA23D #3D9CA2 #A23D9C
tetradic
#9CA23D #3DA275 #433DA2 #A23D69
square
#9CA23D #3DA275 #433DA2 #A23D69
split-complementary
#9CA23D #3D69A2 #753DA2
monochromatic
#46491C #71762C #9CA23D #BBC15B #CED287

Accessibility & contrast

On white

2.75
#9CA23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9CA23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA23D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA23D#FFFFFF#000000##000000
##9CA23D1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B31
Deuteranopia (green-blind)
#AE9D43
Tritanopia (blue-blind)
#A6998D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca23d;
/* rgb */ color: rgb(156, 162, 61);
/* oklch */ color: oklch(68.7% 0.124 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd77',
    500: '#9ca23d',
    950: '#000000',
  },
}
SCSS
$custom: #9ca23d;
$custom-light: #bcbd77;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca23d",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 63.564,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68731,
    "c": 0.12403,
    "h": 112.4
  },
  "luminance": 0.33246
}

Semantic roles & 50–950 ramp

primary
#9CA23D
secondary
#827EBC
accent
#53D55B
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA23D

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

Preview Lab → · Contrast checker → · Palette generator →

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