#9BA523#9BA523

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

Color values

HEX#9BA523
RGBrgb(155, 165, 35)
HSLhsl(65, 65%, 39%)
HSVhsv(65, 79%, 65%)
CMYKcmyk(6.1%, 0%, 78.8%, 35.3%)
CIE-LABlab(64.96, -19.18, 60.57)
CIE-LCHlch(64.96, 63.53, 107.57°)
OKLaboklab(69.14% -0.0593 0.1322)
OKLCHoklch(69.14% 0.145 114.1)
XYZxyz(27.2769, 34.0007, 6.7157)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA523 #2D23A5
analogous
#A56E23 #9BA523 #5AA523
triadic
#9BA523 #239BA5 #A5239B
tetradic
#9BA523 #23A56E #2D23A5 #A5235A
square
#9BA523 #23A56E #2D23A5 #A5235A
split-complementary
#9BA523 #235AA5 #6E23A5
monochromatic
#3C400E #6C7318 #9BA523 #C7D332 #D5DE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA523#FFFFFF#000000##000000
##9BA5231.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)
#B29D00
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#A69B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba523;
/* rgb */ color: rgb(155, 165, 35);
/* oklch */ color: oklch(69.1% 0.145 114.1);
Tailwind
colors: {
  custom: {
    50: '#bcbf6a',
    500: '#9ba523',
    950: '#000000',
  },
}
SCSS
$custom: #9ba523;
$custom-light: #bcbf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba523",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 64.615,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.14485,
    "h": 114.1
  },
  "luminance": 0.34
}

Semantic roles & 50–950 ramp

primary
#9BA523
secondary
#6860C4
accent
#40E84D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA523

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

Preview Lab → · Contrast checker → · Palette generator →

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