#9B9124#9B9124

#9B9124 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.124 H 103.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9B9124
RGBrgb(155, 145, 36)
HSLhsl(55, 62%, 37%)
HSVhsv(55, 77%, 61%)
CMYKcmyk(0%, 6.5%, 76.8%, 39.2%)
CIE-LABlab(59.29, -8.68, 55.07)
CIE-LCHlch(59.29, 55.75, 98.96°)
OKLaboklab(64.61% -0.0299 0.1206)
OKLCHoklch(64.61% 0.124 103.9)
XYZxyz(23.9625, 27.3477, 5.6852)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9124 #242E9B
analogous
#9B5624 #9B9124 #6A9B24
triadic
#9B9124 #249B91 #91249B
tetradic
#9B9124 #249B56 #242E9B #9B246A
square
#9B9124 #249B56 #242E9B #9B246A
split-complementary
#9B9124 #246A9B #56249B
monochromatic
#38340D #696318 #9B9124 #CDBF30 #DAD05F

Accessibility & contrast

On white

3.25
#9B9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9B9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9124
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9124#FFFFFF#000000##000000
##9B91241.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0C
Deuteranopia (green-blind)
#A2912C
Tritanopia (blue-blind)
#A7877C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b9124;
/* rgb */ color: rgb(155, 145, 36);
/* oklch */ color: oklch(64.6% 0.124 103.9);
Tailwind
colors: {
  custom: {
    50: '#bcb068',
    500: '#9b9124',
    950: '#000000',
  },
}
SCSS
$custom: #9b9124;
$custom-light: #bcb068;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9124",
  "rgb": {
    "r": 155,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 54.958,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64613,
    "c": 0.12429,
    "h": 103.9
  },
  "luminance": 0.27347
}

Semantic roles & 50–950 ramp

primary
#9B9124
secondary
#5C64BF
accent
#50E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B9124

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

Preview Lab → · Contrast checker → · Palette generator →

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