#908E24#908E24

#908E24 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.123 H 108.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#908E24
RGBrgb(144, 142, 36)
HSLhsl(59, 60%, 35%)
HSVhsv(59, 75%, 56%)
CMYKcmyk(0%, 1.4%, 75%, 43.5%)
CIE-LABlab(57.47, -12.04, 53.00)
CIE-LCHlch(57.47, 54.36, 102.80°)
OKLaboklab(62.92% -0.0387 0.1167)
OKLCHoklch(62.92% 0.123 108.4)
XYZxyz(21.4939, 25.4034, 5.4399)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E24 #242690
analogous
#905824 #908E24 #5C9024
triadic
#908E24 #24908E #8E2490
tetradic
#908E24 #249058 #242690 #90245C
square
#908E24 #249058 #242690 #90245C
split-complementary
#908E24 #245C90 #582490
monochromatic
#2E2D0C #5F5E18 #908E24 #C1BE30 #D5D359

Accessibility & contrast

On white

3.45
#908E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#908E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E24
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E24#FFFFFF#000000##000000
##908E241.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880E
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#9B847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e24;
/* rgb */ color: rgb(144, 142, 36);
/* oklch */ color: oklch(62.9% 0.123 108.4);
Tailwind
colors: {
  custom: {
    50: '#b4ae67',
    500: '#908e24',
    950: '#000000',
  },
}
SCSS
$custom: #908e24;
$custom-light: #b4ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#908e24",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 58.889,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.12296,
    "h": 108.4
  },
  "luminance": 0.25403
}

Semantic roles & 50–950 ramp

primary
#908E24
secondary
#5658BA
accent
#48E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908E24

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

Preview Lab → · Contrast checker → · Palette generator →

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