#908E23#908E23

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

Color values

HEX#908E23
RGBrgb(144, 142, 35)
HSLhsl(59, 61%, 35%)
HSVhsv(59, 76%, 56%)
CMYKcmyk(0%, 1.4%, 75.7%, 43.5%)
CIE-LABlab(57.46, -12.09, 53.35)
CIE-LCHlch(57.46, 54.71, 102.77°)
OKLaboklab(62.91% -0.039 0.1173)
OKLCHoklch(62.91% 0.124 108.4)
XYZxyz(21.4788, 25.3973, 5.3605)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E23 #232590
analogous
#905723 #908E23 #5C9023
triadic
#908E23 #23908E #8E2390
tetradic
#908E23 #239057 #232590 #90235C
square
#908E23 #239057 #232590 #90235C
split-complementary
#908E23 #235C90 #572390
monochromatic
#2E2D0B #5F5D17 #908E23 #C1BF2F #D6D457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908E23#FFFFFF#000000##000000
##908E231.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)
#9A880C
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#9B847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e23;
/* rgb */ color: rgb(144, 142, 35);
/* oklch */ color: oklch(62.9% 0.124 108.4);
Tailwind
colors: {
  custom: {
    50: '#b4ae67',
    500: '#908e23',
    950: '#000000',
  },
}
SCSS
$custom: #908e23;
$custom-light: #b4ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#908e23",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 58.899,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62913,
    "c": 0.12356,
    "h": 108.4
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#908E23
secondary
#5456BA
accent
#47E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908E23

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

Preview Lab → · Contrast checker → · Palette generator →

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