#9BA630#9BA630

#9BA630 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.138 H 114.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9BA630
RGBrgb(155, 166, 48)
HSLhsl(66, 55%, 42%)
HSVhsv(66, 71%, 65%)
CMYKcmyk(6.6%, 0%, 71.1%, 34.9%)
CIE-LABlab(65.32, -19.07, 56.49)
CIE-LCHlch(65.32, 59.62, 108.66°)
OKLaboklab(69.45% -0.0578 0.1258)
OKLCHoklch(69.45% 0.138 114.7)
XYZxyz(27.6880, 34.4549, 7.9876)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA630 #3B30A6
analogous
#A67630 #9BA630 #60A630
triadic
#9BA630 #309BA6 #A6309B
tetradic
#9BA630 #30A676 #3B30A6 #A63060
square
#9BA630 #30A676 #3B30A6 #A63060
split-complementary
#9BA630 #3060A6 #7630A6
monochromatic
#424715 #6F7722 #9BA630 #BECA49 #CFD878

Accessibility & contrast

On white

2.66
#9BA630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#9BA630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA630
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA630#FFFFFF#000000##000000
##9BA6301.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1C
Deuteranopia (green-blind)
#B1A039
Tritanopia (blue-blind)
#A59C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba630;
/* rgb */ color: rgb(155, 166, 48);
/* oklch */ color: oklch(69.5% 0.138 114.7);
Tailwind
colors: {
  custom: {
    50: '#bcc070',
    500: '#9ba630',
    950: '#000000',
  },
}
SCSS
$custom: #9ba630;
$custom-light: #bcc070;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba630",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 65.593,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.13849,
    "h": 114.7
  },
  "luminance": 0.34454
}

Semantic roles & 50–950 ramp

primary
#9BA630
secondary
#7971C0
accent
#49DE57
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA630

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

Preview Lab → · Contrast checker → · Palette generator →

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