#9B9730#9B9730

#9B9730 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.0% C 0.122 H 107.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9B9730
RGBrgb(155, 151, 48)
HSLhsl(58, 53%, 40%)
HSVhsv(58, 69%, 61%)
CMYKcmyk(0%, 2.6%, 69%, 39.2%)
CIE-LABlab(61.06, -11.29, 52.24)
CIE-LCHlch(61.06, 53.45, 102.19°)
OKLaboklab(66.04% -0.036 0.1169)
OKLCHoklch(66.04% 0.122 107.1)
XYZxyz(25.1186, 29.3160, 7.1311)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9730 #30349B
analogous
#9B6230 #9B9730 #6A9B30
triadic
#9B9730 #309B97 #97309B
tetradic
#9B9730 #309B62 #30349B #9B306A
square
#9B9730 #309B62 #30349B #9B306A
split-complementary
#9B9730 #306A9B #62309B
monochromatic
#3E3C13 #6C6922 #9B9730 #C5C043 #D3D072

Accessibility & contrast

On white

3.06
#9B9730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9B9730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9730
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9730#FFFFFF#000000##000000
##9B97301.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49121
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#A68D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b9730;
/* rgb */ color: rgb(155, 151, 48);
/* oklch */ color: oklch(66.0% 0.122 107.1);
Tailwind
colors: {
  custom: {
    50: '#bcb56f',
    500: '#9b9730',
    950: '#000000',
  },
}
SCSS
$custom: #9b9730;
$custom-light: #bcb56f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9730",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 57.757,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66042,
    "c": 0.12233,
    "h": 107.1
  },
  "luminance": 0.29315
}

Semantic roles & 50–950 ramp

primary
#9B9730
secondary
#6C6FBB
accent
#51DC4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9B9730

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

Preview Lab → · Contrast checker → · Palette generator →

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