#9B9022#9B9022

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

Color values

HEX#9B9022
RGBrgb(155, 144, 34)
HSLhsl(55, 64%, 37%)
HSVhsv(55, 78%, 61%)
CMYKcmyk(0%, 7.1%, 78.1%, 39.2%)
CIE-LABlab(59.00, -8.23, 55.48)
CIE-LCHlch(59.00, 56.09, 98.44°)
OKLaboklab(64.38% -0.0288 0.1211)
OKLCHoklch(64.38% 0.125 103.4)
XYZxyz(23.7806, 27.0316, 5.4781)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9022 #222D9B
analogous
#9B5322 #9B9022 #6A9B22
triadic
#9B9022 #229B90 #90229B
tetradic
#9B9022 #229B53 #222D9B #9B226A
square
#9B9022 #229B53 #222D9B #9B226A
split-complementary
#9B9022 #226A9B #53229B
monochromatic
#37330C #696117 #9B9022 #CDBF2D #DBD05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9022#FFFFFF#000000##000000
##9B90221.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)
#9E8B07
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#A7857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9b9022;
/* rgb */ color: rgb(155, 144, 34);
/* oklch */ color: oklch(64.4% 0.125 103.4);
Tailwind
colors: {
  custom: {
    50: '#bcb067',
    500: '#9b9022',
    950: '#000000',
  },
}
SCSS
$custom: #9b9022;
$custom-light: #bcb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9022",
  "rgb": {
    "r": 155,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 54.545,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64377,
    "c": 0.12452,
    "h": 103.4
  },
  "luminance": 0.27031
}

Semantic roles & 50–950 ramp

primary
#9B9022
secondary
#5962C0
accent
#50E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9022

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

Preview Lab → · Contrast checker → · Palette generator →

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