#9CA628#9CA628

#9CA628 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.143 H 114.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9CA628
RGBrgb(156, 166, 40)
HSLhsl(65, 61%, 40%)
HSVhsv(65, 76%, 65%)
CMYKcmyk(6%, 0%, 75.9%, 34.9%)
CIE-LABlab(65.35, -19.04, 59.37)
CIE-LCHlch(65.35, 62.35, 107.78°)
OKLaboklab(69.48% -0.0585 0.1305)
OKLCHoklch(69.48% 0.143 114.2)
XYZxyz(27.7304, 34.4941, 7.2043)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA628 #3228A6
analogous
#A67128 #9CA628 #5DA628
triadic
#9CA628 #289CA6 #A6289C
tetradic
#9CA628 #28A671 #3228A6 #A6285D
square
#9CA628 #28A671 #3228A6 #A6285D
split-complementary
#9CA628 #285DA6 #7128A6
monochromatic
#3F4310 #6E751C #9CA628 #C4D03B #D3DC6D

Accessibility & contrast

On white

2.66
#9CA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#9CA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA628
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA628#FFFFFF#000000##000000
##9CA6281.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E09
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#A79C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca628;
/* rgb */ color: rgb(156, 166, 40);
/* oklch */ color: oklch(69.5% 0.143 114.2);
Tailwind
colors: {
  custom: {
    50: '#bdc06c',
    500: '#9ca628',
    950: '#000000',
  },
}
SCSS
$custom: #9ca628;
$custom-light: #bdc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca628",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 64.762,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6948,
    "c": 0.14301,
    "h": 114.2
  },
  "luminance": 0.34494
}

Semantic roles & 50–950 ramp

primary
#9CA628
secondary
#6F67C2
accent
#44E450
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA628

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

Preview Lab → · Contrast checker → · Palette generator →

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