#9B9028#9B9028

#9B9028 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.4% C 0.121 H 103.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9B9028
RGBrgb(155, 144, 40)
HSLhsl(54, 59%, 38%)
HSVhsv(54, 74%, 61%)
CMYKcmyk(0%, 7.1%, 74.2%, 39.2%)
CIE-LABlab(59.04, -7.96, 53.38)
CIE-LCHlch(59.04, 53.97, 98.48°)
OKLaboklab(64.42% -0.0275 0.1178)
OKLCHoklch(64.42% 0.121 103.1)
XYZxyz(23.8749, 27.0693, 5.9744)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9028 #28339B
analogous
#9B5628 #9B9028 #6C9B28
triadic
#9B9028 #289B90 #90289B
tetradic
#9B9028 #289B56 #28339B #9B286C
square
#9B9028 #289B56 #28339B #9B286C
split-complementary
#9B9028 #286C9B #56289B
monochromatic
#3A360F #6A631B #9B9028 #CBBD35 #D7CD66

Accessibility & contrast

On white

3.27
#9B9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9B9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9028
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9028#FFFFFF#000000##000000
##9B90281.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#A7867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b9028;
/* rgb */ color: rgb(155, 144, 40);
/* oklch */ color: oklch(64.4% 0.121 103.1);
Tailwind
colors: {
  custom: {
    50: '#bcb06a',
    500: '#9b9028',
    950: '#000000',
  },
}
SCSS
$custom: #9b9028;
$custom-light: #bcb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9028",
  "rgb": {
    "r": 155,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 54.261,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.121,
    "h": 103.1
  },
  "luminance": 0.27068
}

Semantic roles & 50–950 ramp

primary
#9B9028
secondary
#616ABD
accent
#55E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B9028

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

Preview Lab → · Contrast checker → · Palette generator →

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