#9BA015#9BA015

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

Color values

HEX#9BA015
RGBrgb(155, 160, 21)
HSLhsl(62, 77%, 35%)
HSVhsv(62, 87%, 63%)
CMYKcmyk(3.1%, 0%, 86.9%, 37.3%)
CIE-LABlab(63.48, -17.07, 62.94)
CIE-LCHlch(63.48, 65.21, 105.18°)
OKLaboklab(67.93% -0.0544 0.1348)
OKLCHoklch(67.93% 0.145 112)
XYZxyz(26.2247, 32.1650, 5.5363)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA015 #1A15A0
analogous
#A05F15 #9BA015 #56A015
triadic
#9BA015 #159BA0 #A0159B
tetradic
#9BA015 #15A05F #1A15A0 #A01556
square
#9BA015 #15A05F #1A15A0 #A01556
split-complementary
#9BA015 #1556A0 #5F15A0
monochromatic
#323407 #676A0E #9BA015 #CFD61C #E1E748

Accessibility & contrast

On white

2.83
#9BA015 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#9BA015 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA015
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA015#FFFFFF#000000##000000
##9BA0151.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba015;
/* rgb */ color: rgb(155, 160, 21);
/* oklch */ color: oklch(67.9% 0.145 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbb64',
    500: '#9ba015',
    950: '#000000',
  },
}
SCSS
$custom: #9ba015;
$custom-light: #bdbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba015",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 62.158,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67933,
    "c": 0.1454,
    "h": 112
  },
  "luminance": 0.32164
}

Semantic roles & 50–950 ramp

primary
#9BA015
secondary
#4D49C8
accent
#34F33B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9BA015

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

Preview Lab → · Contrast checker → · Palette generator →

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