#9CA727#9CA727

#9CA727 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.7% C 0.145 H 114.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9CA727
RGBrgb(156, 167, 39)
HSLhsl(65, 62%, 40%)
HSVhsv(65, 77%, 65%)
CMYKcmyk(6.6%, 0%, 76.6%, 34.5%)
CIE-LABlab(65.63, -19.59, 59.96)
CIE-LCHlch(65.63, 63.08, 108.09°)
OKLaboklab(69.7% -0.0601 0.1316)
OKLCHoklch(69.7% 0.145 114.6)
XYZxyz(27.8961, 34.8524, 7.1767)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA727 #3227A7
analogous
#A77227 #9CA727 #5CA727
triadic
#9CA727 #279CA7 #A7279C
tetradic
#9CA727 #27A772 #3227A7 #A7275C
square
#9CA727 #27A772 #3227A7 #A7275C
split-complementary
#9CA727 #275CA7 #7227A7
monochromatic
#3F4410 #6E751B #9CA727 #C4D13A #D3DD6C

Accessibility & contrast

On white

2.63
#9CA727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#9CA727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA727
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA727#FFFFFF#000000##000000
##9CA7271.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B3A032
Tritanopia (blue-blind)
#A79D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca727;
/* rgb */ color: rgb(156, 167, 39);
/* oklch */ color: oklch(69.7% 0.145 114.6);
Tailwind
colors: {
  custom: {
    50: '#bdc16c',
    500: '#9ca727',
    950: '#000000',
  },
}
SCSS
$custom: #9ca727;
$custom-light: #bdc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca727",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 65.156,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69703,
    "c": 0.14464,
    "h": 114.6
  },
  "luminance": 0.34852
}

Semantic roles & 50–950 ramp

primary
#9CA727
secondary
#6F67C3
accent
#43E551
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA727

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

Preview Lab → · Contrast checker → · Palette generator →

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