#9CA138#9CA138

#9CA138 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.5% C 0.127 H 111.9°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9CA138
RGBrgb(156, 161, 56)
HSLhsl(63, 48%, 43%)
HSVhsv(63, 65%, 63%)
CMYKcmyk(3.1%, 0%, 65.2%, 36.9%)
CIE-LABlab(64.03, -15.60, 52.02)
CIE-LCHlch(64.03, 54.31, 106.70°)
OKLaboklab(68.46% -0.0474 0.1177)
OKLCHoklch(68.46% 0.127 111.9)
XYZxyz(27.1698, 32.8438, 8.6489)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA138 #3D38A1
analogous
#A17138 #9CA138 #68A138
triadic
#9CA138 #389CA1 #A1389C
tetradic
#9CA138 #38A171 #3D38A1 #A13868
square
#9CA138 #38A171 #3D38A1 #A13868
split-complementary
#9CA138 #3868A1 #7138A1
monochromatic
#444618 #707428 #9CA138 #BEC353 #CFD380

Accessibility & contrast

On white

2.77
#9CA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#9CA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA138
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA138#FFFFFF#000000##000000
##9CA1381.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#AD9C3F
Tritanopia (blue-blind)
#A6978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca138;
/* rgb */ color: rgb(156, 161, 56);
/* oklch */ color: oklch(68.5% 0.127 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbc74',
    500: '#9ca138',
    950: '#000000',
  },
}
SCSS
$custom: #9ca138;
$custom-light: #bcbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca138",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 62.857,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68457,
    "c": 0.12688,
    "h": 111.9
  },
  "luminance": 0.32843
}

Semantic roles & 50–950 ramp

primary
#9CA138
secondary
#7C78BC
accent
#50D856
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA138

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

Preview Lab → · Contrast checker → · Palette generator →

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