#9BA02E#9BA02E

#9BA02E is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.1% C 0.133 H 111.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9BA02E
RGBrgb(155, 160, 46)
HSLhsl(63, 55%, 40%)
HSVhsv(63, 71%, 63%)
CMYKcmyk(3.1%, 0%, 71.2%, 37.3%)
CIE-LABlab(63.60, -16.11, 55.54)
CIE-LCHlch(63.60, 57.83, 106.17°)
OKLaboklab(68.06% -0.0498 0.1235)
OKLCHoklch(68.06% 0.133 111.9)
XYZxyz(26.5824, 32.3081, 7.4200)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA02E #332EA0
analogous
#A06C2E #9BA02E #62A02E
triadic
#9BA02E #2E9BA0 #A02E9B
tetradic
#9BA02E #2EA06C #332EA0 #A02E62
square
#9BA02E #2EA06C #332EA0 #A02E62
split-complementary
#9BA02E #2E62A0 #6C2EA0
monochromatic
#3F4113 #6D7020 #9BA02E #C3C942 #D2D672

Accessibility & contrast

On white

2.81
#9BA02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#9BA02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA02E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA02E#FFFFFF#000000##000000
##9BA02E1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991A
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#A6968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba02e;
/* rgb */ color: rgb(155, 160, 46);
/* oklch */ color: oklch(68.1% 0.133 111.9);
Tailwind
colors: {
  custom: {
    50: '#bcbb6f',
    500: '#9ba02e',
    950: '#000000',
  },
}
SCSS
$custom: #9ba02e;
$custom-light: #bcbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba02e",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 62.632,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68064,
    "c": 0.13316,
    "h": 111.9
  },
  "luminance": 0.32307
}

Semantic roles & 50–950 ramp

primary
#9BA02E
secondary
#6F6CBE
accent
#49DF50
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9BA02E

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

Preview Lab → · Contrast checker → · Palette generator →

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