#9CA028#9CA028

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

Color values

HEX#9CA028
RGBrgb(156, 160, 40)
HSLhsl(62, 60%, 39%)
HSVhsv(62, 75%, 63%)
CMYKcmyk(2.5%, 0%, 75%, 37.3%)
CIE-LABlab(63.64, -15.97, 57.77)
CIE-LCHlch(63.64, 59.94, 105.45°)
OKLaboklab(68.11% -0.05 0.1271)
OKLCHoklch(68.11% 0.137 111.5)
XYZxyz(26.6650, 32.3634, 6.8492)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA028 #2C28A0
analogous
#A06828 #9CA028 #60A028
triadic
#9CA028 #289CA0 #A0289C
tetradic
#9CA028 #28A068 #2C28A0 #A02860
square
#9CA028 #28A068 #2C28A0 #A02860
split-complementary
#9CA028 #2860A0 #6828A0
monochromatic
#3D3E10 #6C6F1C #9CA028 #C8CD38 #D6D969

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA028#FFFFFF#000000##000000
##9CA0281.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)
#AD990D
Deuteranopia (green-blind)
#AD9C32
Tritanopia (blue-blind)
#A79689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca028;
/* rgb */ color: rgb(156, 160, 40);
/* oklch */ color: oklch(68.1% 0.137 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb6c',
    500: '#9ca028',
    950: '#000000',
  },
}
SCSS
$custom: #9ca028;
$custom-light: #bdbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca028",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 62,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68109,
    "c": 0.13657,
    "h": 111.5
  },
  "luminance": 0.32363
}

Semantic roles & 50–950 ramp

primary
#9CA028
secondary
#6764C0
accent
#45E34A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9CA028

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

Preview Lab → · Contrast checker → · Palette generator →

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