#9CA23F#9CA23F

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

Color values

HEX#9CA23F
RGBrgb(156, 162, 63)
HSLhsl(64, 44%, 44%)
HSVhsv(64, 61%, 64%)
CMYKcmyk(3.7%, 0%, 61.1%, 36.5%)
CIE-LABlab(64.38, -15.64, 49.34)
CIE-LCHlch(64.38, 51.76, 107.59°)
OKLaboklab(68.75% -0.0467 0.1131)
OKLCHoklch(68.75% 0.122 112.4)
XYZxyz(27.5285, 33.2680, 9.6729)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA23F #453FA2
analogous
#A2773F #9CA23F #6BA23F
triadic
#9CA23F #3F9CA2 #A23F9C
tetradic
#9CA23F #3FA277 #453FA2 #A23F6B
square
#9CA23F #3FA277 #453FA2 #A23F6B
split-complementary
#9CA23F #3F6BA2 #773FA2
monochromatic
#474A1D #72762E #9CA23F #BAC05E #CDD18A

Accessibility & contrast

On white

2.74
#9CA23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA23F#FFFFFF#000000##000000
##9CA23F1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca23f;
/* rgb */ color: rgb(156, 162, 63);
/* oklch */ color: oklch(68.8% 0.122 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd78',
    500: '#9ca23f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca23f;
$custom-light: #bcbd78;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca23f",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 63.636,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68751,
    "c": 0.12235,
    "h": 112.4
  },
  "luminance": 0.33267
}

Semantic roles & 50–950 ramp

primary
#9CA23F
secondary
#8481BC
accent
#54D45C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9CA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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