#908A23#908A23

#908A23 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.120 H 106.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#908A23
RGBrgb(144, 138, 35)
HSLhsl(57, 61%, 35%)
HSVhsv(57, 76%, 56%)
CMYKcmyk(0%, 4.2%, 75.7%, 43.5%)
CIE-LABlab(56.32, -9.94, 52.28)
CIE-LCHlch(56.32, 53.22, 100.77°)
OKLaboklab(62% -0.0329 0.115)
OKLCHoklch(62% 0.12 106)
XYZxyz(20.8943, 24.2284, 5.1657)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A23 #232990
analogous
#905323 #908A23 #609023
triadic
#908A23 #23908A #8A2390
tetradic
#908A23 #239053 #232990 #902360
square
#908A23 #239053 #232990 #902360
split-complementary
#908A23 #236090 #532390
monochromatic
#2E2C0B #5F5B17 #908A23 #C1B92F #D6CF57

Accessibility & contrast

On white

3.59
#908A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#908A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908A23
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908A23#FFFFFF#000000##000000
##908A231.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850E
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a23;
/* rgb */ color: rgb(144, 138, 35);
/* oklch */ color: oklch(62.0% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#b4ab66',
    500: '#908a23',
    950: '#000000',
  },
}
SCSS
$custom: #908a23;
$custom-light: #b4ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#908a23",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 56.697,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62,
    "c": 0.1196,
    "h": 106
  },
  "luminance": 0.24228
}

Semantic roles & 50–950 ramp

primary
#908A23
secondary
#545ABA
accent
#4DE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908A23

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

Preview Lab → · Contrast checker → · Palette generator →

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