#9CA726#9CA726

#9CA726 is a light, vivid yellow. Relative luminance 0.348; 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#9CA726
RGBrgb(156, 167, 38)
HSLhsl(65, 63%, 40%)
HSVhsv(65, 77%, 65%)
CMYKcmyk(6.6%, 0%, 77.2%, 34.5%)
CIE-LABlab(65.63, -19.63, 60.27)
CIE-LCHlch(65.63, 63.39, 108.04°)
OKLaboklab(69.7% -0.0603 0.132)
OKLCHoklch(69.7% 0.145 114.6)
XYZxyz(27.8797, 34.8458, 7.0906)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA726 #3126A7
analogous
#A77126 #9CA726 #5CA726
triadic
#9CA726 #269CA7 #A7269C
tetradic
#9CA726 #26A771 #3126A7 #A7265C
square
#9CA726 #26A771 #3126A7 #A7265C
split-complementary
#9CA726 #265CA7 #7126A7
monochromatic
#3F430F #6D751B #9CA726 #C5D238 #D3DD6A

Accessibility & contrast

On white

2.64
#9CA726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA726#FFFFFF#000000##000000
##9CA7261.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca726;
/* rgb */ color: rgb(156, 167, 38);
/* oklch */ color: oklch(69.7% 0.145 114.6);
Tailwind
colors: {
  custom: {
    50: '#bdc16c',
    500: '#9ca726',
    950: '#000000',
  },
}
SCSS
$custom: #9ca726;
$custom-light: #bdc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca726",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 65.116,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69697,
    "c": 0.14517,
    "h": 114.6
  },
  "luminance": 0.34845
}

Semantic roles & 50–950 ramp

primary
#9CA726
secondary
#6D65C3
accent
#42E650
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA726

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

Preview Lab → · Contrast checker → · Palette generator →

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