#9BA430#9BA430

#9BA430 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.136 H 113.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#9BA430
RGBrgb(155, 164, 48)
HSLhsl(65, 55%, 42%)
HSVhsv(65, 71%, 64%)
CMYKcmyk(5.5%, 0%, 70.7%, 35.7%)
CIE-LABlab(64.75, -18.06, 55.92)
CIE-LCHlch(64.75, 58.77, 107.89°)
OKLaboklab(68.99% -0.055 0.1247)
OKLCHoklch(68.99% 0.136 113.8)
XYZxyz(27.3273, 33.7334, 7.8674)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA430 #3930A4
analogous
#A47330 #9BA430 #61A430
triadic
#9BA430 #309BA4 #A4309B
tetradic
#9BA430 #30A473 #3930A4 #A43061
square
#9BA430 #30A473 #3930A4 #A43061
split-complementary
#9BA430 #3061A4 #7330A4
monochromatic
#424514 #6E7522 #9BA430 #BFC948 #D0D777

Accessibility & contrast

On white

2.71
#9BA430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#9BA430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA430
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA430#FFFFFF#000000##000000
##9BA4301.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#B09E39
Tritanopia (blue-blind)
#A59A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba430;
/* rgb */ color: rgb(155, 164, 48);
/* oklch */ color: oklch(69.0% 0.136 113.8);
Tailwind
colors: {
  custom: {
    50: '#bcbe70',
    500: '#9ba430',
    950: '#000000',
  },
}
SCSS
$custom: #9ba430;
$custom-light: #bcbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba430",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 64.655,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68992,
    "c": 0.13625,
    "h": 113.8
  },
  "luminance": 0.33733
}

Semantic roles & 50–950 ramp

primary
#9BA430
secondary
#7770BF
accent
#4ADE55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA430

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

Preview Lab → · Contrast checker → · Palette generator →

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