#9BA524#9BA524

#9BA524 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.144 H 114.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9BA524
RGBrgb(155, 165, 36)
HSLhsl(65, 64%, 39%)
HSVhsv(65, 78%, 65%)
CMYKcmyk(6.1%, 0%, 78.2%, 35.3%)
CIE-LABlab(64.97, -19.14, 60.27)
CIE-LCHlch(64.97, 63.23, 107.61°)
OKLaboklab(69.15% -0.0591 0.1317)
OKLCHoklch(69.15% 0.144 114.2)
XYZxyz(27.2920, 34.0068, 6.7950)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA524 #2E24A5
analogous
#A56F24 #9BA524 #5BA524
triadic
#9BA524 #249BA5 #A5249B
tetradic
#9BA524 #24A56F #2E24A5 #A5245B
square
#9BA524 #24A56F #2E24A5 #A5245B
split-complementary
#9BA524 #245BA5 #6F24A5
monochromatic
#3D410E #6C7319 #9BA524 #C6D334 #D4DE66

Accessibility & contrast

On white

2.69
#9BA524 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9BA524 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA524
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA524#FFFFFF#000000##000000
##9BA5241.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D00
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#A69B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba524;
/* rgb */ color: rgb(155, 165, 36);
/* oklch */ color: oklch(69.1% 0.144 114.2);
Tailwind
colors: {
  custom: {
    50: '#bcbf6a',
    500: '#9ba524',
    950: '#000000',
  },
}
SCSS
$custom: #9ba524;
$custom-light: #bcbf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba524",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 36
  },
  "hsl": {
    "h": 64.651,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69145,
    "c": 0.14435,
    "h": 114.2
  },
  "luminance": 0.34006
}

Semantic roles & 50–950 ramp

primary
#9BA524
secondary
#6962C3
accent
#41E74E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA524

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

Preview Lab → · Contrast checker → · Palette generator →

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