#908D23#908D23

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

Color values

HEX#908D23
RGBrgb(144, 141, 35)
HSLhsl(58, 61%, 35%)
HSVhsv(58, 76%, 56%)
CMYKcmyk(0%, 2.1%, 75.7%, 43.5%)
CIE-LABlab(57.17, -11.55, 53.09)
CIE-LCHlch(57.17, 54.33, 102.28°)
OKLaboklab(62.68% -0.0375 0.1167)
OKLCHoklch(62.68% 0.123 107.8)
XYZxyz(21.3307, 25.1011, 5.3112)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D23 #232690
analogous
#905723 #908D23 #5C9023
triadic
#908D23 #23908D #8D2390
tetradic
#908D23 #239057 #232690 #90235C
square
#908D23 #239057 #232690 #90235C
split-complementary
#908D23 #235C90 #572390
monochromatic
#2E2D0B #5F5D17 #908D23 #C1BD2F #D6D357

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D23#FFFFFF#000000##000000
##908D231.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)
#99870C
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#9B8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d23;
/* rgb */ color: rgb(144, 141, 35);
/* oklch */ color: oklch(62.7% 0.123 107.8);
Tailwind
colors: {
  custom: {
    50: '#b4ae67',
    500: '#908d23',
    950: '#000000',
  },
}
SCSS
$custom: #908d23;
$custom-light: #b4ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#908d23",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 58.349,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62684,
    "c": 0.12255,
    "h": 107.8
  },
  "luminance": 0.251
}

Semantic roles & 50–950 ramp

primary
#908D23
secondary
#5457BA
accent
#48E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908D23

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

Preview Lab → · Contrast checker → · Palette generator →

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