#9BA623#9BA623

#9BA623 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.4% C 0.146 H 114.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9BA623
RGBrgb(155, 166, 35)
HSLhsl(65, 65%, 39%)
HSVhsv(65, 79%, 65%)
CMYKcmyk(6.6%, 0%, 78.9%, 34.9%)
CIE-LABlab(65.25, -19.68, 60.83)
CIE-LCHlch(65.25, 63.93, 107.93°)
OKLaboklab(69.37% -0.0607 0.1327)
OKLCHoklch(69.37% 0.146 114.6)
XYZxyz(27.4580, 34.3629, 6.7760)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA623 #2E23A6
analogous
#A67023 #9BA623 #5AA623
triadic
#9BA623 #239BA6 #A6239B
tetradic
#9BA623 #23A670 #2E23A6 #A6235A
square
#9BA623 #23A670 #2E23A6 #A6235A
split-complementary
#9BA623 #235AA6 #7023A6
monochromatic
#3D410E #6C7318 #9BA623 #C6D432 #D4DF65

Accessibility & contrast

On white

2.67
#9BA623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#9BA623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA623
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA623#FFFFFF#000000##000000
##9BA6231.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B29F2F
Tritanopia (blue-blind)
#A69C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba623;
/* rgb */ color: rgb(155, 166, 35);
/* oklch */ color: oklch(69.4% 0.146 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc06a',
    500: '#9ba623',
    950: '#000000',
  },
}
SCSS
$custom: #9ba623;
$custom-light: #bcc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba623",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 65.038,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69369,
    "c": 0.14593,
    "h": 114.6
  },
  "luminance": 0.34362
}

Semantic roles & 50–950 ramp

primary
#9BA623
secondary
#6961C4
accent
#40E84E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA623

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

Preview Lab → · Contrast checker → · Palette generator →

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