#9CA254#9CA254

#9CA254 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.102 H 112.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9CA254
RGBrgb(156, 162, 84)
HSLhsl(65, 32%, 48%)
HSVhsv(65, 48%, 64%)
CMYKcmyk(3.7%, 0%, 48.1%, 36.5%)
CIE-LABlab(64.60, -13.82, 39.55)
CIE-LCHlch(64.60, 41.90, 109.26°)
OKLaboklab(69% -0.0394 0.0943)
OKLCHoklch(69% 0.102 112.7)
XYZxyz(28.2313, 33.5491, 13.3742)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA254 #5A54A2
analogous
#A28154 #9CA254 #75A254
triadic
#9CA254 #549CA2 #A2549C
tetradic
#9CA254 #54A281 #5A54A2 #A25475
square
#9CA254 #54A281 #5A54A2 #A25475
split-complementary
#9CA254 #5475A2 #8154A2
monochromatic
#4E512A #757A3F #9CA254 #B5BA79 #CBCFA2

Accessibility & contrast

On white

2.72
#9CA254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9CA254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA254
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA254#FFFFFF#000000##000000
##9CA2541.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4D
Deuteranopia (green-blind)
#AC9E58
Tritanopia (blue-blind)
#A59A90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca254;
/* rgb */ color: rgb(156, 162, 84);
/* oklch */ color: oklch(69.0% 0.102 112.7);
Tailwind
colors: {
  custom: {
    50: '#bbbd86',
    500: '#9ca254',
    950: '#000000',
  },
}
SCSS
$custom: #9ca254;
$custom-light: #bbbd86;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca254",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 64.615,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.69004,
    "c": 0.10213,
    "h": 112.7
  },
  "luminance": 0.33549
}

Semantic roles & 50–950 ramp

primary
#9CA254
secondary
#9996BC
accent
#60C868
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA254

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

Preview Lab → · Contrast checker → · Palette generator →

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