#9BA019#9BA019

#9BA019 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#9BA019
RGBrgb(155, 160, 25)
HSLhsl(62, 73%, 36%)
HSVhsv(62, 84%, 63%)
CMYKcmyk(3.1%, 0%, 84.4%, 37.3%)
CIE-LABlab(63.49, -16.97, 62.03)
CIE-LCHlch(63.49, 64.31, 105.30°)
OKLaboklab(67.95% -0.0539 0.1335)
OKLCHoklch(67.95% 0.144 112)
XYZxyz(26.2648, 32.1810, 5.7475)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA019 #1E19A0
analogous
#A06219 #9BA019 #58A019
triadic
#9BA019 #199BA0 #A0199B
tetradic
#9BA019 #19A062 #1E19A0 #A01958
square
#9BA019 #19A062 #1E19A0 #A01958
split-complementary
#9BA019 #1958A0 #6219A0
monochromatic
#343608 #686B11 #9BA019 #CED521 #DEE450

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA019#FFFFFF#000000##000000
##9BA0191.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: #9ba019;
/* rgb */ color: rgb(155, 160, 25);
/* oklch */ color: oklch(67.9% 0.144 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb65',
    500: '#9ba019',
    950: '#000000',
  },
}
SCSS
$custom: #9ba019;
$custom-light: #bcbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba019",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 25
  },
  "hsl": {
    "h": 62.222,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67948,
    "c": 0.14398,
    "h": 112
  },
  "luminance": 0.3218
}

Semantic roles & 50–950 ramp

primary
#9BA019
secondary
#534FC6
accent
#38F03F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9BA019

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

Preview Lab → · Contrast checker → · Palette generator →

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