#9BAF29#9BAF29

#9BAF29 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.153 H 118.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#9BAF29
RGBrgb(155, 175, 41)
HSLhsl(69, 62%, 42%)
HSVhsv(69, 77%, 69%)
CMYKcmyk(11.4%, 0%, 76.6%, 31.4%)
CIE-LABlab(67.86, -23.92, 61.35)
CIE-LCHlch(67.86, 65.85, 111.30°)
OKLaboklab(71.48% -0.0719 0.1349)
OKLCHoklch(71.48% 0.153 118)
XYZxyz(29.2485, 37.7889, 7.8506)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF29 #3D29AF
analogous
#AF8029 #9BAF29 #58AF29
triadic
#9BAF29 #299BAF #AF299B
tetradic
#9BAF29 #29AF80 #3D29AF #AF2958
square
#9BAF29 #29AF80 #3D29AF #AF2958
split-complementary
#9BAF29 #2958AF #8029AF
monochromatic
#434C12 #6F7D1D #9BAF29 #BDD342 #CFDE74

Accessibility & contrast

On white

2.45
#9BAF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#9BAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF29
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF29#FFFFFF#000000##000000
##9BAF291.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA505
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#A5A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9baf29;
/* rgb */ color: rgb(155, 175, 41);
/* oklch */ color: oklch(71.5% 0.153 118.0);
Tailwind
colors: {
  custom: {
    50: '#bcc66e',
    500: '#9baf29',
    950: '#000000',
  },
}
SCSS
$custom: #9baf29;
$custom-light: #bcc66e;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf29",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 68.955,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.7148,
    "c": 0.15284,
    "h": 118
  },
  "luminance": 0.37789
}

Semantic roles & 50–950 ramp

primary
#9BAF29
secondary
#7B6EC6
accent
#43E55B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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