#9D9023#9D9023

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

Color values

HEX#9D9023
RGBrgb(157, 144, 35)
HSLhsl(54, 64%, 38%)
HSVhsv(54, 78%, 62%)
CMYKcmyk(0%, 8.3%, 77.7%, 38.4%)
CIE-LABlab(59.19, -7.28, 55.38)
CIE-LCHlch(59.19, 55.86, 97.49°)
OKLaboklab(64.57% -0.0262 0.121)
OKLCHoklch(64.57% 0.124 102.2)
XYZxyz(24.1824, 27.2370, 5.5733)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9023 #23309D
analogous
#9D5323 #9D9023 #6D9D23
triadic
#9D9023 #239D90 #90239D
tetradic
#9D9023 #239D53 #23309D #9D236D
square
#9D9023 #239D53 #23309D #9D236D
split-complementary
#9D9023 #236D9D #53239D
monochromatic
#39340D #6B6218 #9D9023 #CFBE2E #DBCE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9023#FFFFFF#000000##000000
##9D90231.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)
#9E8B0A
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#A9857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d9023;
/* rgb */ color: rgb(157, 144, 35);
/* oklch */ color: oklch(64.6% 0.124 102.2);
Tailwind
colors: {
  custom: {
    50: '#beb067',
    500: '#9d9023',
    950: '#000000',
  },
}
SCSS
$custom: #9d9023;
$custom-light: #beb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9023",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 53.607,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64574,
    "c": 0.12383,
    "h": 102.2
  },
  "luminance": 0.27236
}

Semantic roles & 50–950 ramp

primary
#9D9023
secondary
#5C66C0
accent
#53E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9023

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

Preview Lab → · Contrast checker → · Palette generator →

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