#909D2C#909D2C

#909D2C is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.4% C 0.134 H 115.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#909D2C
RGBrgb(144, 157, 44)
HSLhsl(67, 56%, 39%)
HSVhsv(67, 72%, 62%)
CMYKcmyk(8.3%, 0%, 72%, 38.4%)
CIE-LABlab(61.85, -19.46, 54.29)
CIE-LCHlch(61.85, 57.67, 109.72°)
OKLaboklab(66.44% -0.0587 0.1209)
OKLCHoklch(66.44% 0.134 115.9)
XYZxyz(24.0138, 30.2254, 6.9514)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#909D2C #392C9D
analogous
#9D722C #909D2C #579D2C
triadic
#909D2C #2C909D #9D2C90
tetradic
#909D2C #2C9D72 #392C9D #9D2C57
square
#909D2C #2C9D72 #392C9D #9D2C57
split-complementary
#909D2C #2C579D #722C9D
monochromatic
#383D11 #646D1F #909D2C #B9C93D #CAD66D

Accessibility & contrast

On white

2.98
#909D2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#909D2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #909D2C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##909D2C#FFFFFF#000000##000000
##909D2C1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89518
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#999487
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #909d2c;
/* rgb */ color: rgb(144, 157, 44);
/* oklch */ color: oklch(66.4% 0.134 115.9);
Tailwind
colors: {
  custom: {
    50: '#b4b96d',
    500: '#909d2c',
    950: '#000000',
  },
}
SCSS
$custom: #909d2c;
$custom-light: #b4b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#909d2c",
  "rgb": {
    "r": 144,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 66.903,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66443,
    "c": 0.13433,
    "h": 115.9
  },
  "luminance": 0.30225
}

Semantic roles & 50–950 ramp

primary
#909D2C
secondary
#7168BD
accent
#48E05A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #909D2C

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

Preview Lab → · Contrast checker → · Palette generator →

#909D2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva