#9BA625#9BA625

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

Color values

HEX#9BA625
RGBrgb(155, 166, 37)
HSLhsl(65, 64%, 40%)
HSVhsv(65, 78%, 65%)
CMYKcmyk(6.6%, 0%, 77.7%, 34.9%)
CIE-LABlab(65.26, -19.60, 60.22)
CIE-LCHlch(65.26, 63.33, 108.03°)
OKLaboklab(69.38% -0.0603 0.1318)
OKLCHoklch(69.38% 0.145 114.6)
XYZxyz(27.4885, 34.3751, 6.9369)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA625 #3025A6
analogous
#A67025 #9BA625 #5BA625
triadic
#9BA625 #259BA6 #A6259B
tetradic
#9BA625 #25A670 #3025A6 #A6255B
square
#9BA625 #25A670 #3025A6 #A6255B
split-complementary
#9BA625 #255BA6 #7025A6
monochromatic
#3E420F #6C741A #9BA625 #C5D236 #D3DD68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA625#FFFFFF#000000##000000
##9BA6251.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)
#B2A031
Tritanopia (blue-blind)
#A69C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba625;
/* rgb */ color: rgb(155, 166, 37);
/* oklch */ color: oklch(69.4% 0.145 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc06b',
    500: '#9ba625',
    950: '#000000',
  },
}
SCSS
$custom: #9ba625;
$custom-light: #bcc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba625",
  "rgb": {
    "r": 155,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 65.116,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6938,
    "c": 0.14492,
    "h": 114.6
  },
  "luminance": 0.34375
}

Semantic roles & 50–950 ramp

primary
#9BA625
secondary
#6C64C3
accent
#41E74F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA625

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

Preview Lab → · Contrast checker → · Palette generator →

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