#908D24#908D24

#908D24 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.122 H 107.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#908D24
RGBrgb(144, 141, 36)
HSLhsl(58, 60%, 35%)
HSVhsv(58, 75%, 56%)
CMYKcmyk(0%, 2.1%, 75%, 43.5%)
CIE-LABlab(57.18, -11.51, 52.73)
CIE-LCHlch(57.18, 53.98, 102.31°)
OKLaboklab(62.69% -0.0372 0.1161)
OKLCHoklch(62.69% 0.122 107.8)
XYZxyz(21.3457, 25.1071, 5.3905)
Luminance0.2511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D24 #242790
analogous
#905724 #908D24 #5D9024
triadic
#908D24 #24908D #8D2490
tetradic
#908D24 #249057 #242790 #90245D
square
#908D24 #249057 #242790 #90245D
split-complementary
#908D24 #245D90 #572490
monochromatic
#2E2D0C #5F5D18 #908D24 #C1BD30 #D5D259

Accessibility & contrast

On white

3.49
#908D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#908D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D24
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D24#FFFFFF#000000##000000
##908D241.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870F
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#9B8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d24;
/* rgb */ color: rgb(144, 141, 36);
/* oklch */ color: oklch(62.7% 0.122 107.8);
Tailwind
colors: {
  custom: {
    50: '#b4ae67',
    500: '#908d24',
    950: '#000000',
  },
}
SCSS
$custom: #908d24;
$custom-light: #b4ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#908d24",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 58.333,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62691,
    "c": 0.12195,
    "h": 107.8
  },
  "luminance": 0.25106
}

Semantic roles & 50–950 ramp

primary
#908D24
secondary
#5659BA
accent
#49E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908D24

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

Preview Lab → · Contrast checker → · Palette generator →

#908D24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva