#9BA640#9BA640

#9BA640 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.6% C 0.127 H 114.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9BA640
RGBrgb(155, 166, 64)
HSLhsl(66, 44%, 45%)
HSVhsv(66, 61%, 65%)
CMYKcmyk(6.6%, 0%, 61.4%, 34.9%)
CIE-LABlab(65.45, -18.05, 50.03)
CIE-LCHlch(65.45, 53.19, 109.84°)
OKLaboklab(69.59% -0.0533 0.1147)
OKLCHoklch(69.59% 0.127 114.9)
XYZxyz(28.0798, 34.6116, 10.0510)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA640 #4B40A6
analogous
#A67E40 #9BA640 #68A640
triadic
#9BA640 #409BA6 #A6409B
tetradic
#9BA640 #40A67E #4B40A6 #A64068
square
#9BA640 #40A67E #4B40A6 #A64068
split-complementary
#9BA640 #4068A6 #7E40A6
monochromatic
#494E1E #727A2F #9BA640 #B8C261 #CCD38D

Accessibility & contrast

On white

2.65
#9BA640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#9BA640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA640
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA640#FFFFFF#000000##000000
##9BA6401.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B0A047
Tritanopia (blue-blind)
#A49D90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ba640;
/* rgb */ color: rgb(155, 166, 64);
/* oklch */ color: oklch(69.6% 0.127 114.9);
Tailwind
colors: {
  custom: {
    50: '#bbc079',
    500: '#9ba640',
    950: '#000000',
  },
}
SCSS
$custom: #9ba640;
$custom-light: #bbc079;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba640",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 66.471,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69589,
    "c": 0.1265,
    "h": 114.9
  },
  "luminance": 0.34611
}

Semantic roles & 50–950 ramp

primary
#9BA640
secondary
#8A84BE
accent
#54D462
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA640

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

Preview Lab → · Contrast checker → · Palette generator →

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