#9BA022#9BA022

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

Color values

HEX#9BA022
RGBrgb(155, 160, 34)
HSLhsl(62, 65%, 38%)
HSVhsv(62, 79%, 63%)
CMYKcmyk(3.1%, 0%, 78.8%, 37.3%)
CIE-LABlab(63.53, -16.66, 59.59)
CIE-LCHlch(63.53, 61.87, 105.62°)
OKLaboklab(67.99% -0.0524 0.1299)
OKLCHoklch(67.99% 0.14 112)
XYZxyz(26.3780, 32.2263, 6.3438)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA022 #2722A0
analogous
#A06622 #9BA022 #5CA022
triadic
#9BA022 #229BA0 #A0229B
tetradic
#9BA022 #22A066 #2722A0 #A0225C
square
#9BA022 #22A066 #2722A0 #A0225C
split-complementary
#9BA022 #225CA0 #6622A0
monochromatic
#393B0D #6A6E17 #9BA022 #CCD22D #D8DD5F

Accessibility & contrast

On white

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

On black

7.45
#9BA022 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA022
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA022#FFFFFF#000000##000000
##9BA0221.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba022;
/* rgb */ color: rgb(155, 160, 34);
/* oklch */ color: oklch(68.0% 0.140 112.0);
Tailwind
colors: {
  custom: {
    50: '#bcbb69',
    500: '#9ba022',
    950: '#000000',
  },
}
SCSS
$custom: #9ba022;
$custom-light: #bcbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba022",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 62.381,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67989,
    "c": 0.14005,
    "h": 112
  },
  "luminance": 0.32226
}

Semantic roles & 50–950 ramp

primary
#9BA022
secondary
#605CC2
accent
#40E847
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9BA022

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

Preview Lab → · Contrast checker → · Palette generator →

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