#9BA427#9BA427

#9BA427 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 68.9% C 0.142 H 113.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9BA427
RGBrgb(155, 164, 39)
HSLhsl(64, 62%, 40%)
HSVhsv(64, 76%, 64%)
CMYKcmyk(5.5%, 0%, 76.2%, 35.7%)
CIE-LABlab(64.70, -18.50, 59.06)
CIE-LCHlch(64.70, 61.89, 107.39°)
OKLaboklab(68.93% -0.0571 0.1297)
OKLCHoklch(68.93% 0.142 113.7)
XYZxyz(27.1601, 33.6665, 6.9866)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA427 #3027A4
analogous
#A46F27 #9BA427 #5DA427
triadic
#9BA427 #279BA4 #A4279B
tetradic
#9BA427 #27A46F #3027A4 #A4275D
square
#9BA427 #27A46F #3027A4 #A4275D
split-complementary
#9BA427 #275DA4 #6F27A4
monochromatic
#3E410F #6C731B #9BA427 #C5D038 #D3DC6A

Accessibility & contrast

On white

2.72
#9BA427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9BA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA427
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA427#FFFFFF#000000##000000
##9BA4271.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C07
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A69A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba427;
/* rgb */ color: rgb(155, 164, 39);
/* oklch */ color: oklch(68.9% 0.142 113.7);
Tailwind
colors: {
  custom: {
    50: '#bcbe6c',
    500: '#9ba427',
    950: '#000000',
  },
}
SCSS
$custom: #9ba427;
$custom-light: #bcbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba427",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 64.32,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.14169,
    "h": 113.7
  },
  "luminance": 0.33666
}

Semantic roles & 50–950 ramp

primary
#9BA427
secondary
#6C65C2
accent
#43E54F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA427

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

Preview Lab → · Contrast checker → · Palette generator →

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