#9D9022#9D9022

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

Color values

HEX#9D9022
RGBrgb(157, 144, 34)
HSLhsl(54, 64%, 37%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 8.3%, 78.3%, 38.4%)
CIE-LABlab(59.19, -7.32, 55.72)
CIE-LCHlch(59.19, 56.20, 97.48°)
OKLaboklab(64.57% -0.0264 0.1215)
OKLCHoklch(64.57% 0.124 102.3)
XYZxyz(24.1678, 27.2312, 5.4962)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9022 #222F9D
analogous
#9D5322 #9D9022 #6C9D22
triadic
#9D9022 #229D90 #90229D
tetradic
#9D9022 #229D53 #222F9D #9D226C
square
#9D9022 #229D53 #222F9D #9D226C
split-complementary
#9D9022 #226C9D #53229D
monochromatic
#38340C #6B6217 #9D9022 #CFBE2D #DCCF5D

Accessibility & contrast

On white

3.26
#9D9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#9D9022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9022
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9022#FFFFFF#000000##000000
##9D90221.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B07
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#A9857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d9022;
/* rgb */ color: rgb(157, 144, 34);
/* oklch */ color: oklch(64.6% 0.124 102.3);
Tailwind
colors: {
  custom: {
    50: '#beb067',
    500: '#9d9022',
    950: '#000000',
  },
}
SCSS
$custom: #9d9022;
$custom-light: #beb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9022",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 53.659,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64568,
    "c": 0.12437,
    "h": 102.3
  },
  "luminance": 0.2723
}

Semantic roles & 50–950 ramp

primary
#9D9022
secondary
#5A65C1
accent
#52E740
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9022

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

Preview Lab → · Contrast checker → · Palette generator →

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