#9D9028#9D9028

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

Color values

HEX#9D9028
RGBrgb(157, 144, 40)
HSLhsl(53, 59%, 39%)
HSVhsv(53, 75%, 62%)
CMYKcmyk(0%, 8.3%, 74.5%, 38.4%)
CIE-LABlab(59.22, -7.06, 53.62)
CIE-LCHlch(59.22, 54.08, 97.50°)
OKLaboklab(64.61% -0.0251 0.1183)
OKLCHoklch(64.61% 0.121 102)
XYZxyz(24.2620, 27.2689, 5.9925)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9028 #28359D
analogous
#9D5528 #9D9028 #6F9D28
triadic
#9D9028 #289D90 #90289D
tetradic
#9D9028 #289D55 #28359D #9D286F
square
#9D9028 #289D55 #28359D #9D286F
split-complementary
#9D9028 #286F9D #55289D
monochromatic
#3B370F #6C631C #9D9028 #CCBB36 #D8CC67

Accessibility & contrast

On white

3.25
#9D9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9028#FFFFFF#000000##000000
##9D90281.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B15
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#A9857C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d9028;
/* rgb */ color: rgb(157, 144, 40);
/* oklch */ color: oklch(64.6% 0.121 102.0);
Tailwind
colors: {
  custom: {
    50: '#bdb06a',
    500: '#9d9028',
    950: '#000000',
  },
}
SCSS
$custom: #9d9028;
$custom-light: #bdb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9028",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 53.333,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64606,
    "c": 0.12089,
    "h": 102
  },
  "luminance": 0.27268
}

Semantic roles & 50–950 ramp

primary
#9D9028
secondary
#626DBE
accent
#57E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D9028

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

Preview Lab → · Contrast checker → · Palette generator →

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