#9CA03F#9CA03F

#9CA03F is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.120 H 111.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9CA03F
RGBrgb(156, 160, 63)
HSLhsl(62, 43%, 44%)
HSVhsv(62, 61%, 63%)
CMYKcmyk(2.5%, 0%, 60.6%, 37.3%)
CIE-LABlab(63.81, -14.60, 48.72)
CIE-LCHlch(63.81, 50.86, 106.68°)
OKLaboklab(68.3% -0.0438 0.1118)
OKLCHoklch(68.3% 0.12 111.4)
XYZxyz(27.1790, 32.5690, 9.5564)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA03F #433FA0
analogous
#A0733F #9CA03F #6BA03F
triadic
#9CA03F #3F9CA0 #A03F9C
tetradic
#9CA03F #3FA073 #433FA0 #A03F6B
square
#9CA03F #3FA073 #433FA0 #A03F6B
split-complementary
#9CA03F #3F6BA0 #733FA0
monochromatic
#46481C #71742E #9CA03F #BBBF5D #CED089

Accessibility & contrast

On white

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

On black

7.51
#9CA03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA03F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA03F#FFFFFF#000000##000000
##9CA03F1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9934
Deuteranopia (green-blind)
#AC9C45
Tritanopia (blue-blind)
#A6978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca03f;
/* rgb */ color: rgb(156, 160, 63);
/* oklch */ color: oklch(68.3% 0.120 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbb78',
    500: '#9ca03f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca03f;
$custom-light: #bcbb78;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca03f",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 62.474,
    "s": 43.498,
    "l": 43.725
  },
  "oklch": {
    "l": 0.68298,
    "c": 0.12004,
    "h": 111.4
  },
  "luminance": 0.32568
}

Semantic roles & 50–950 ramp

primary
#9CA03F
secondary
#8280BB
accent
#55D35A
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9CA03F

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

Preview Lab → · Contrast checker → · Palette generator →

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