#9BA239#9BA239

#9BA239 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.127 H 112.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9BA239
RGBrgb(155, 162, 57)
HSLhsl(64, 48%, 43%)
HSVhsv(64, 65%, 64%)
CMYKcmyk(4.3%, 0%, 64.8%, 36.5%)
CIE-LABlab(64.25, -16.49, 51.79)
CIE-LCHlch(64.25, 54.35, 107.66°)
OKLaboklab(68.61% -0.0497 0.1174)
OKLCHoklch(68.61% 0.127 112.9)
XYZxyz(27.1771, 33.1052, 8.8284)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA239 #4039A2
analogous
#A27439 #9BA239 #66A239
triadic
#9BA239 #399BA2 #A2399B
tetradic
#9BA239 #39A274 #4039A2 #A23966
square
#9BA239 #39A274 #4039A2 #A23966
split-complementary
#9BA239 #3966A2 #7439A2
monochromatic
#444719 #707529 #9BA239 #BCC355 #CED382

Accessibility & contrast

On white

2.76
#9BA239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9BA239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA239
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA239#FFFFFF#000000##000000
##9BA2391.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2B
Deuteranopia (green-blind)
#AE9D40
Tritanopia (blue-blind)
#A5998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba239;
/* rgb */ color: rgb(155, 162, 57);
/* oklch */ color: oklch(68.6% 0.127 112.9);
Tailwind
colors: {
  custom: {
    50: '#bbbd75',
    500: '#9ba239',
    950: '#000000',
  },
}
SCSS
$custom: #9ba239;
$custom-light: #bbbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba239",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 64,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6861,
    "c": 0.12749,
    "h": 112.9
  },
  "luminance": 0.33105
}

Semantic roles & 50–950 ramp

primary
#9BA239
secondary
#7E7ABD
accent
#50D859
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA239

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

Preview Lab → · Contrast checker → · Palette generator →

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