#908C23#908C23

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

Color values

HEX#908C23
RGBrgb(144, 140, 35)
HSLhsl(58, 61%, 35%)
HSVhsv(58, 76%, 56%)
CMYKcmyk(0%, 2.8%, 75.7%, 43.5%)
CIE-LABlab(56.89, -11.02, 52.82)
CIE-LCHlch(56.89, 53.95, 101.78°)
OKLaboklab(62.46% -0.036 0.1161)
OKLCHoklch(62.46% 0.122 107.2)
XYZxyz(21.1839, 24.8075, 5.2622)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C23 #232790
analogous
#905523 #908C23 #5E9023
triadic
#908C23 #23908C #8C2390
tetradic
#908C23 #239055 #232790 #90235E
square
#908C23 #239055 #232790 #90235E
split-complementary
#908C23 #235E90 #552390
monochromatic
#2E2C0B #5F5C17 #908C23 #C1BC2F #D6D257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908C23#FFFFFF#000000##000000
##908C231.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)
#98860D
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#9B8278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908c23;
/* rgb */ color: rgb(144, 140, 35);
/* oklch */ color: oklch(62.5% 0.122 107.2);
Tailwind
colors: {
  custom: {
    50: '#b4ad67',
    500: '#908c23',
    950: '#000000',
  },
}
SCSS
$custom: #908c23;
$custom-light: #b4ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#908c23",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 57.798,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62456,
    "c": 0.12155,
    "h": 107.2
  },
  "luminance": 0.24807
}

Semantic roles & 50–950 ramp

primary
#908C23
secondary
#5458BA
accent
#4AE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908C23

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

Preview Lab → · Contrast checker → · Palette generator →

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