#9B8D25#9B8D25

#9B8D25 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.120 H 101.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9B8D25
RGBrgb(155, 141, 37)
HSLhsl(53, 61%, 38%)
HSVhsv(53, 76%, 61%)
CMYKcmyk(0%, 9%, 76.1%, 39.2%)
CIE-LABlab(58.18, -6.48, 53.67)
CIE-LCHlch(58.18, 54.06, 96.88°)
OKLaboklab(63.73% -0.0236 0.1179)
OKLCHoklch(63.73% 0.12 101.3)
XYZxyz(23.3775, 26.1530, 5.5666)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D25 #25339B
analogous
#9B5225 #9B8D25 #6E9B25
triadic
#9B8D25 #259B8D #8D259B
tetradic
#9B8D25 #259B52 #25339B #9B256E
square
#9B8D25 #259B52 #25339B #9B256E
split-complementary
#9B8D25 #256E9B #52259B
monochromatic
#38330D #6A6019 #9B8D25 #CCBA31 #D9CB61

Accessibility & contrast

On white

3.37
#9B8D25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9B8D25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D25
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D25#FFFFFF#000000##000000
##9B8D251.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#A78279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d25;
/* rgb */ color: rgb(155, 141, 37);
/* oklch */ color: oklch(63.7% 0.120 101.3);
Tailwind
colors: {
  custom: {
    50: '#bcae68',
    500: '#9b8d25',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d25;
$custom-light: #bcae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d25",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 37
  },
  "hsl": {
    "h": 52.881,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6373,
    "c": 0.12021,
    "h": 101.3
  },
  "luminance": 0.26152
}

Semantic roles & 50–950 ramp

primary
#9B8D25
secondary
#5D69BF
accent
#56E543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B8D25

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

Preview Lab → · Contrast checker → · Palette generator →

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