#9B9023#9B9023

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

Color values

HEX#9B9023
RGBrgb(155, 144, 35)
HSLhsl(55, 63%, 37%)
HSVhsv(55, 77%, 61%)
CMYKcmyk(0%, 7.1%, 77.4%, 39.2%)
CIE-LABlab(59.01, -8.19, 55.15)
CIE-LCHlch(59.01, 55.75, 98.44°)
OKLaboklab(64.38% -0.0286 0.1206)
OKLCHoklch(64.38% 0.124 103.4)
XYZxyz(23.7953, 27.0374, 5.5551)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9023 #232E9B
analogous
#9B5423 #9B9023 #6A9B23
triadic
#9B9023 #239B90 #90239B
tetradic
#9B9023 #239B54 #232E9B #9B236A
square
#9B9023 #239B54 #232E9B #9B236A
split-complementary
#9B9023 #236A9B #54239B
monochromatic
#37330C #696218 #9B9023 #CDBE2E #DBCF5E

Accessibility & contrast

On white

3.28
#9B9023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9023#FFFFFF#000000##000000
##9B90231.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B0A
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#A7857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b9023;
/* rgb */ color: rgb(155, 144, 35);
/* oklch */ color: oklch(64.4% 0.124 103.4);
Tailwind
colors: {
  custom: {
    50: '#bcb067',
    500: '#9b9023',
    950: '#000000',
  },
}
SCSS
$custom: #9b9023;
$custom-light: #bcb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9023",
  "rgb": {
    "r": 155,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 54.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.12396,
    "h": 103.4
  },
  "luminance": 0.27036
}

Semantic roles & 50–950 ramp

primary
#9B9023
secondary
#5A64BF
accent
#51E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9023

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

Preview Lab → · Contrast checker → · Palette generator →

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