#9BA338#9BA338

#9BA338 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.129 H 113.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9BA338
RGBrgb(155, 163, 56)
HSLhsl(64, 49%, 43%)
HSVhsv(64, 66%, 64%)
CMYKcmyk(4.9%, 0%, 65.6%, 36.1%)
CIE-LABlab(64.52, -17.07, 52.50)
CIE-LCHlch(64.52, 55.21, 108.01°)
OKLaboklab(68.83% -0.0514 0.1188)
OKLCHoklch(68.83% 0.129 113.4)
XYZxyz(27.3293, 33.4490, 8.7573)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA338 #4038A3
analogous
#A37538 #9BA338 #65A338
triadic
#9BA338 #389BA3 #A3389B
tetradic
#9BA338 #38A375 #4038A3 #A33865
square
#9BA338 #38A375 #4038A3 #A33865
split-complementary
#9BA338 #3865A3 #7538A3
monochromatic
#444819 #707528 #9BA338 #BCC454 #CED482

Accessibility & contrast

On white

2.73
#9BA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#9BA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA338
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA338#FFFFFF#000000##000000
##9BA3381.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B2A
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#A59A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba338;
/* rgb */ color: rgb(155, 163, 56);
/* oklch */ color: oklch(68.8% 0.129 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbe74',
    500: '#9ba338',
    950: '#000000',
  },
}
SCSS
$custom: #9ba338;
$custom-light: #bbbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba338",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 64.486,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68829,
    "c": 0.12941,
    "h": 113.4
  },
  "luminance": 0.33448
}

Semantic roles & 50–950 ramp

primary
#9BA338
secondary
#7E79BD
accent
#4FD85A
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA338

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

Preview Lab → · Contrast checker → · Palette generator →

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