#9CA123#9CA123

#9CA123 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.3% C 0.140 H 111.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9CA123
RGBrgb(156, 161, 35)
HSLhsl(62, 64%, 38%)
HSVhsv(62, 78%, 63%)
CMYKcmyk(3.1%, 0%, 78.3%, 36.9%)
CIE-LABlab(63.90, -16.69, 59.64)
CIE-LCHlch(63.90, 61.94, 105.64°)
OKLaboklab(68.31% -0.0524 0.1301)
OKLCHoklch(68.31% 0.14 111.9)
XYZxyz(26.7595, 32.6797, 6.4880)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA123 #2823A1
analogous
#A16723 #9CA123 #5DA123
triadic
#9CA123 #239CA1 #A1239C
tetradic
#9CA123 #23A167 #2823A1 #A1235D
square
#9CA123 #23A167 #2823A1 #A1235D
split-complementary
#9CA123 #235DA1 #6723A1
monochromatic
#3B3C0D #6B6F18 #9CA123 #CBD22F #D8DD62

Accessibility & contrast

On white

2.79
#9CA123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#9CA123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA123
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA123#FFFFFF#000000##000000
##9CA1231.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#A7978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca123;
/* rgb */ color: rgb(156, 161, 35);
/* oklch */ color: oklch(68.3% 0.140 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbc69',
    500: '#9ca123',
    950: '#000000',
  },
}
SCSS
$custom: #9ca123;
$custom-light: #bdbc69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca123",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 62.381,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68308,
    "c": 0.14032,
    "h": 111.9
  },
  "luminance": 0.32679
}

Semantic roles & 50–950 ramp

primary
#9CA123
secondary
#625EC2
accent
#41E747
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA123

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

Preview Lab → · Contrast checker → · Palette generator →

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