#9CA038#9CA038

#9CA038 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.126 H 111.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9CA038
RGBrgb(156, 160, 56)
HSLhsl(62, 48%, 42%)
HSVhsv(62, 65%, 63%)
CMYKcmyk(2.5%, 0%, 65%, 37.3%)
CIE-LABlab(63.75, -15.09, 51.72)
CIE-LCHlch(63.75, 53.88, 106.26°)
OKLaboklab(68.23% -0.0459 0.1171)
OKLCHoklch(68.23% 0.126 111.4)
XYZxyz(26.9957, 32.4957, 8.5908)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA038 #3C38A0
analogous
#A07038 #9CA038 #68A038
triadic
#9CA038 #389CA0 #A0389C
tetradic
#9CA038 #38A070 #3C38A0 #A03868
square
#9CA038 #38A070 #3C38A0 #A03868
split-complementary
#9CA038 #3868A0 #7038A0
monochromatic
#444518 #707328 #9CA038 #BEC353 #CFD380

Accessibility & contrast

On white

2.80
#9CA038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#9CA038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA038
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA038#FFFFFF#000000##000000
##9CA0381.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#A6968B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca038;
/* rgb */ color: rgb(156, 160, 56);
/* oklch */ color: oklch(68.2% 0.126 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbb74',
    500: '#9ca038',
    950: '#000000',
  },
}
SCSS
$custom: #9ca038;
$custom-light: #bcbb74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca038",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 62.308,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68231,
    "c": 0.12576,
    "h": 111.4
  },
  "luminance": 0.32495
}

Semantic roles & 50–950 ramp

primary
#9CA038
secondary
#7A78BC
accent
#50D855
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9CA038

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

Preview Lab → · Contrast checker → · Palette generator →

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