#9BA01C#9BA01C

#9BA01C is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.143 H 112.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9BA01C
RGBrgb(155, 160, 28)
HSLhsl(62, 70%, 37%)
HSVhsv(62, 83%, 63%)
CMYKcmyk(3.1%, 0%, 82.5%, 37.3%)
CIE-LABlab(63.50, -16.87, 61.28)
CIE-LCHlch(63.50, 63.56, 105.40°)
OKLaboklab(67.96% -0.0534 0.1324)
OKLCHoklch(67.96% 0.143 112)
XYZxyz(26.2989, 32.1947, 5.9272)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA01C #211CA0
analogous
#A0631C #9BA01C #59A01C
triadic
#9BA01C #1C9BA0 #A01C9B
tetradic
#9BA01C #1CA063 #211CA0 #A01C59
square
#9BA01C #1CA063 #211CA0 #A01C59
split-complementary
#9BA01C #1C59A0 #631CA0
monochromatic
#36380A #696C13 #9BA01C #CDD425 #DCE155

Accessibility & contrast

On white

2.82
#9BA01C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#9BA01C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA01C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA01C#FFFFFF#000000##000000
##9BA01C1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#A69688
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba01c;
/* rgb */ color: rgb(155, 160, 28);
/* oklch */ color: oklch(68.0% 0.143 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb66',
    500: '#9ba01c',
    950: '#000000',
  },
}
SCSS
$custom: #9ba01c;
$custom-light: #bcbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba01c",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 62.273,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6796,
    "c": 0.14279,
    "h": 112
  },
  "luminance": 0.32194
}

Semantic roles & 50–950 ramp

primary
#9BA01C
secondary
#5853C4
accent
#3BED42
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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