#9BA627#9BA627

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

Color values

HEX#9BA627
RGBrgb(155, 166, 39)
HSLhsl(65, 62%, 40%)
HSVhsv(65, 77%, 65%)
CMYKcmyk(6.6%, 0%, 76.5%, 34.9%)
CIE-LABlab(65.27, -19.52, 59.59)
CIE-LCHlch(65.27, 62.71, 108.13°)
OKLaboklab(69.39% -0.0599 0.1308)
OKLCHoklch(69.39% 0.144 114.6)
XYZxyz(27.5208, 34.3880, 7.1069)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA627 #3227A6
analogous
#A67227 #9BA627 #5BA627
triadic
#9BA627 #279BA6 #A6279B
tetradic
#9BA627 #27A672 #3227A6 #A6275B
square
#9BA627 #27A672 #3227A6 #A6275B
split-complementary
#9BA627 #275BA6 #7227A6
monochromatic
#3E4310 #6D741B #9BA627 #C4D13A #D2DC6B

Accessibility & contrast

On white

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

On black

7.88
#9BA627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA627
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA627#FFFFFF#000000##000000
##9BA6271.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D06
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#A59C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba627;
/* rgb */ color: rgb(155, 166, 39);
/* oklch */ color: oklch(69.4% 0.144 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc06c',
    500: '#9ba627',
    950: '#000000',
  },
}
SCSS
$custom: #9ba627;
$custom-light: #bcc06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba627",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 65.197,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69392,
    "c": 0.14387,
    "h": 114.6
  },
  "luminance": 0.34387
}

Semantic roles & 50–950 ramp

primary
#9BA627
secondary
#6E66C3
accent
#43E551
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA627

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

Preview Lab → · Contrast checker → · Palette generator →

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