#9BA018#9BA018

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

Color values

HEX#9BA018
RGBrgb(155, 160, 24)
HSLhsl(62, 74%, 36%)
HSVhsv(62, 85%, 63%)
CMYKcmyk(3.1%, 0%, 85%, 37.3%)
CIE-LABlab(63.49, -16.99, 62.27)
CIE-LCHlch(63.49, 64.55, 105.27°)
OKLaboklab(67.94% -0.054 0.1339)
OKLCHoklch(67.94% 0.144 112)
XYZxyz(26.2542, 32.1768, 5.6917)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA018 #1D18A0
analogous
#A06118 #9BA018 #57A018
triadic
#9BA018 #189BA0 #A0189B
tetradic
#9BA018 #18A061 #1D18A0 #A01857
square
#9BA018 #18A061 #1D18A0 #A01857
split-complementary
#9BA018 #1857A0 #6118A0
monochromatic
#343608 #676B10 #9BA018 #CFD520 #DFE44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA018#FFFFFF#000000##000000
##9BA0181.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)
#AE9B27
Tritanopia (blue-blind)
#A69688
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba018;
/* rgb */ color: rgb(155, 160, 24);
/* oklch */ color: oklch(67.9% 0.144 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb65',
    500: '#9ba018',
    950: '#000000',
  },
}
SCSS
$custom: #9ba018;
$custom-light: #bcbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba018",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 62.206,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.67944,
    "c": 0.14436,
    "h": 112
  },
  "luminance": 0.32176
}

Semantic roles & 50–950 ramp

primary
#9BA018
secondary
#524DC6
accent
#37F13E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9BA018

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

Preview Lab → · Contrast checker → · Palette generator →

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