#9BA016#9BA016

#9BA016 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#9BA016
RGBrgb(155, 160, 22)
HSLhsl(62, 76%, 36%)
HSVhsv(62, 86%, 63%)
CMYKcmyk(3.1%, 0%, 86.3%, 37.3%)
CIE-LABlab(63.48, -17.05, 62.72)
CIE-LCHlch(63.48, 65.00, 105.21°)
OKLaboklab(67.94% -0.0543 0.1345)
OKLCHoklch(67.94% 0.145 112)
XYZxyz(26.2342, 32.1688, 5.5862)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA016 #1B16A0
analogous
#A06016 #9BA016 #56A016
triadic
#9BA016 #169BA0 #A0169B
tetradic
#9BA016 #16A060 #1B16A0 #A01656
square
#9BA016 #16A060 #1B16A0 #A01656
split-complementary
#9BA016 #1656A0 #6016A0
monochromatic
#333407 #676A0F #9BA016 #CFD61D #E0E64A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA016#FFFFFF#000000##000000
##9BA0161.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)
#AE9B26
Tritanopia (blue-blind)
#A69588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba016;
/* rgb */ color: rgb(155, 160, 22);
/* oklch */ color: oklch(67.9% 0.145 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb64',
    500: '#9ba016',
    950: '#000000',
  },
}
SCSS
$custom: #9ba016;
$custom-light: #bcbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba016",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 22
  },
  "hsl": {
    "h": 62.174,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.67936,
    "c": 0.14506,
    "h": 112
  },
  "luminance": 0.32168
}

Semantic roles & 50–950 ramp

primary
#9BA016
secondary
#4F4AC8
accent
#35F23C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9BA016

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

Preview Lab → · Contrast checker → · Palette generator →

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