#908C24#908C24

#908C24 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.5% C 0.121 H 107.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#908C24
RGBrgb(144, 140, 36)
HSLhsl(58, 60%, 35%)
HSVhsv(58, 75%, 56%)
CMYKcmyk(0%, 2.8%, 75%, 43.5%)
CIE-LABlab(56.89, -10.97, 52.46)
CIE-LCHlch(56.89, 53.60, 101.81°)
OKLaboklab(62.46% -0.0357 0.1156)
OKLCHoklch(62.46% 0.121 107.2)
XYZxyz(21.1990, 24.8136, 5.3416)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C24 #242890
analogous
#905624 #908C24 #5E9024
triadic
#908C24 #24908C #8C2490
tetradic
#908C24 #249056 #242890 #90245E
square
#908C24 #249056 #242890 #90245E
split-complementary
#908C24 #245E90 #562490
monochromatic
#2E2D0C #5F5C18 #908C24 #C1BC30 #D5D159

Accessibility & contrast

On white

3.52
#908C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#908C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908C24
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908C24#FFFFFF#000000##000000
##908C241.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860F
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#9B8278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908c24;
/* rgb */ color: rgb(144, 140, 36);
/* oklch */ color: oklch(62.5% 0.121 107.2);
Tailwind
colors: {
  custom: {
    50: '#b4ad67',
    500: '#908c24',
    950: '#000000',
  },
}
SCSS
$custom: #908c24;
$custom-light: #b4ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#908c24",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 57.778,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62463,
    "c": 0.12095,
    "h": 107.2
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#908C24
secondary
#565ABA
accent
#4BE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908C24

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

Preview Lab → · Contrast checker → · Palette generator →

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