#9BA327#9BA327

#9BA327 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.141 H 113.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9BA327
RGBrgb(155, 163, 39)
HSLhsl(64, 61%, 40%)
HSVhsv(64, 76%, 64%)
CMYKcmyk(4.9%, 0%, 76.1%, 36.1%)
CIE-LABlab(64.41, -17.99, 58.80)
CIE-LCHlch(64.41, 61.49, 107.01°)
OKLaboklab(68.7% -0.0556 0.1291)
OKLCHoklch(68.7% 0.141 113.3)
XYZxyz(26.9818, 33.3100, 6.9272)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA327 #2F27A3
analogous
#A36D27 #9BA327 #5DA327
triadic
#9BA327 #279BA3 #A3279B
tetradic
#9BA327 #27A36D #2F27A3 #A3275D
square
#9BA327 #27A36D #2F27A3 #A3275D
split-complementary
#9BA327 #275DA3 #6D27A3
monochromatic
#3D400F #6C721B #9BA327 #C6CF38 #D4DB69

Accessibility & contrast

On white

2.74
#9BA327 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9BA327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA327
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA327#FFFFFF#000000##000000
##9BA3271.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B08
Deuteranopia (green-blind)
#AF9D32
Tritanopia (blue-blind)
#A6998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba327;
/* rgb */ color: rgb(155, 163, 39);
/* oklch */ color: oklch(68.7% 0.141 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe6b',
    500: '#9ba327',
    950: '#000000',
  },
}
SCSS
$custom: #9ba327;
$custom-light: #bcbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba327",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 63.871,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68703,
    "c": 0.14061,
    "h": 113.3
  },
  "luminance": 0.33309
}

Semantic roles & 50–950 ramp

primary
#9BA327
secondary
#6A64C1
accent
#43E44E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA327

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

Preview Lab → · Contrast checker → · Palette generator →

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