#9BA833#9BA833

#9BA833 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.9% C 0.139 H 115.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9BA833
RGBrgb(155, 168, 51)
HSLhsl(67, 53%, 43%)
HSVhsv(67, 70%, 66%)
CMYKcmyk(7.7%, 0%, 69.6%, 34.1%)
CIE-LABlab(65.91, -19.92, 55.93)
CIE-LCHlch(65.91, 59.37, 109.60°)
OKLaboklab(69.93% -0.0599 0.1252)
OKLCHoklch(69.93% 0.139 115.6)
XYZxyz(28.1184, 35.2133, 8.4469)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA833 #4033A8
analogous
#A87B33 #9BA833 #60A833
triadic
#9BA833 #339BA8 #A8339B
tetradic
#9BA833 #33A87B #4033A8 #A83360
square
#9BA833 #33A87B #4033A8 #A83360
split-complementary
#9BA833 #3360A8 #7B33A8
monochromatic
#444A16 #707925 #9BA833 #BCC94F #CED87E

Accessibility & contrast

On white

2.61
#9BA833 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9BA833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA833
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA833#FFFFFF#000000##000000
##9BA8331.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F20
Deuteranopia (green-blind)
#B3A13C
Tritanopia (blue-blind)
#A59E91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba833;
/* rgb */ color: rgb(155, 168, 51);
/* oklch */ color: oklch(69.9% 0.139 115.6);
Tailwind
colors: {
  custom: {
    50: '#bbc172',
    500: '#9ba833',
    950: '#000000',
  },
}
SCSS
$custom: #9ba833;
$custom-light: #bbc172;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba833",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 66.667,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69932,
    "c": 0.13877,
    "h": 115.6
  },
  "luminance": 0.35213
}

Semantic roles & 50–950 ramp

primary
#9BA833
secondary
#7E76C1
accent
#4BDD5B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA833

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

Preview Lab → · Contrast checker → · Palette generator →

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