#9BA013#9BA013

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

Color values

HEX#9BA013
RGBrgb(155, 160, 19)
HSLhsl(62, 79%, 35%)
HSVhsv(62, 88%, 63%)
CMYKcmyk(3.1%, 0%, 88.1%, 37.3%)
CIE-LABlab(63.47, -17.12, 63.35)
CIE-LCHlch(63.47, 65.62, 105.13°)
OKLaboklab(67.93% -0.0547 0.1354)
OKLCHoklch(67.93% 0.146 112)
XYZxyz(26.2069, 32.1579, 5.4426)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA013 #1813A0
analogous
#A05F13 #9BA013 #54A013
triadic
#9BA013 #139BA0 #A0139B
tetradic
#9BA013 #13A05F #1813A0 #A01354
square
#9BA013 #13A05F #1813A0 #A01354
split-complementary
#9BA013 #1354A0 #5F13A0
monochromatic
#313306 #66690D #9BA013 #D0D719 #E3E945

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9ba013;
/* rgb */ color: rgb(155, 160, 19);
/* oklch */ color: oklch(67.9% 0.146 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbb63',
    500: '#9ba013',
    950: '#000000',
  },
}
SCSS
$custom: #9ba013;
$custom-light: #bdbb63;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba013",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 19
  },
  "hsl": {
    "h": 62.128,
    "s": 78.771,
    "l": 35.098
  },
  "oklch": {
    "l": 0.67926,
    "c": 0.14604,
    "h": 112
  },
  "luminance": 0.32157
}

Semantic roles & 50–950 ramp

primary
#9BA013
secondary
#4A45C9
accent
#33F539
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9BA013

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

Preview Lab → · Contrast checker → · Palette generator →

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