#9BA01D#9BA01D

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

Color values

HEX#9BA01D
RGBrgb(155, 160, 29)
HSLhsl(62, 69%, 37%)
HSVhsv(62, 82%, 63%)
CMYKcmyk(3.1%, 0%, 81.9%, 37.3%)
CIE-LABlab(63.51, -16.84, 61.01)
CIE-LCHlch(63.51, 63.29, 105.43°)
OKLaboklab(67.97% -0.0532 0.132)
OKLCHoklch(67.97% 0.142 112)
XYZxyz(26.3111, 32.1996, 5.9913)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA01D #221DA0
analogous
#A0641D #9BA01D #5AA01D
triadic
#9BA01D #1D9BA0 #A01D9B
tetradic
#9BA01D #1DA064 #221DA0 #A01D5A
square
#9BA01D #1DA064 #221DA0 #A01D5A
split-complementary
#9BA01D #1D5AA0 #641DA0
monochromatic
#37380A #696C14 #9BA01D #CDD426 #DBE157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA01D#FFFFFF#000000##000000
##9BA01D1.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)
#AD9B2A
Tritanopia (blue-blind)
#A69689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba01d;
/* rgb */ color: rgb(155, 160, 29);
/* oklch */ color: oklch(68.0% 0.142 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb67',
    500: '#9ba01d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba01d;
$custom-light: #bcbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba01d",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 62.29,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67965,
    "c": 0.14236,
    "h": 112
  },
  "luminance": 0.32199
}

Semantic roles & 50–950 ramp

primary
#9BA01D
secondary
#5955C4
accent
#3CEC42
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA01D

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

Preview Lab → · Contrast checker → · Palette generator →

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