#9CA023#9CA023

#9CA023 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.1% C 0.139 H 111.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9CA023
RGBrgb(156, 160, 35)
HSLhsl(62, 64%, 38%)
HSVhsv(62, 78%, 63%)
CMYKcmyk(2.5%, 0%, 78.1%, 37.3%)
CIE-LABlab(63.62, -16.18, 59.39)
CIE-LCHlch(63.62, 61.55, 105.24°)
OKLaboklab(68.08% -0.051 0.1296)
OKLCHoklch(68.08% 0.139 111.5)
XYZxyz(26.5854, 32.3316, 6.4300)
Luminance0.3233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA023 #2723A0
analogous
#A06523 #9CA023 #5DA023
triadic
#9CA023 #239CA0 #A0239C
tetradic
#9CA023 #23A065 #2723A0 #A0235D
square
#9CA023 #23A065 #2723A0 #A0235D
split-complementary
#9CA023 #235DA0 #6523A0
monochromatic
#3A3C0D #6B6E18 #9CA023 #CCD12F #D8DC61

Accessibility & contrast

On white

2.81
#9CA023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#9CA023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA023
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA023#FFFFFF#000000##000000
##9CA0231.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#A79689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca023;
/* rgb */ color: rgb(156, 160, 35);
/* oklch */ color: oklch(68.1% 0.139 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb69',
    500: '#9ca023',
    950: '#000000',
  },
}
SCSS
$custom: #9ca023;
$custom-light: #bdbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca023",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 61.92,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6808,
    "c": 0.13928,
    "h": 111.5
  },
  "luminance": 0.32331
}

Semantic roles & 50–950 ramp

primary
#9CA023
secondary
#615DC1
accent
#41E746
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9CA023

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

Preview Lab → · Contrast checker → · Palette generator →

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