#9BA01E#9BA01E

#9BA01E 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#9BA01E
RGBrgb(155, 160, 30)
HSLhsl(62, 68%, 37%)
HSVhsv(62, 81%, 63%)
CMYKcmyk(3.1%, 0%, 81.3%, 37.3%)
CIE-LABlab(63.51, -16.81, 60.74)
CIE-LCHlch(63.51, 63.02, 105.47°)
OKLaboklab(67.97% -0.0531 0.1316)
OKLCHoklch(67.97% 0.142 112)
XYZxyz(26.3236, 32.2046, 6.0575)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA01E #231EA0
analogous
#A0641E #9BA01E #5AA01E
triadic
#9BA01E #1E9BA0 #A01E9B
tetradic
#9BA01E #1EA064 #231EA0 #A01E5A
square
#9BA01E #1EA064 #231EA0 #A01E5A
split-complementary
#9BA01E #1E5AA0 #641EA0
monochromatic
#37390B #696C14 #9BA01E #CDD428 #DBE059

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9ba01e;
/* rgb */ color: rgb(155, 160, 30);
/* oklch */ color: oklch(68.0% 0.142 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb67',
    500: '#9ba01e',
    950: '#000000',
  },
}
SCSS
$custom: #9ba01e;
$custom-light: #bcbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba01e",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 30
  },
  "hsl": {
    "h": 62.308,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67969,
    "c": 0.14192,
    "h": 112
  },
  "luminance": 0.32204
}

Semantic roles & 50–950 ramp

primary
#9BA01E
secondary
#5A56C4
accent
#3DEB43
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA01E

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

Preview Lab → · Contrast checker → · Palette generator →

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