#908E1E#908E1E

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

Color values

HEX#908E1E
RGBrgb(144, 142, 30)
HSLhsl(59, 66%, 34%)
HSVhsv(59, 79%, 56%)
CMYKcmyk(0%, 1.4%, 79.2%, 43.5%)
CIE-LABlab(57.43, -12.30, 55.00)
CIE-LCHlch(57.43, 56.36, 102.61°)
OKLaboklab(62.88% -0.04 0.1198)
OKLCHoklch(62.88% 0.126 108.5)
XYZxyz(21.4098, 25.3697, 4.9971)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E1E #1E2090
analogous
#90551E #908E1E #59901E
triadic
#908E1E #1E908E #8E1E90
tetradic
#908E1E #1E9055 #1E2090 #901E59
square
#908E1E #1E9055 #1E2090 #901E59
split-complementary
#908E1E #1E5990 #551E90
monochromatic
#2B2A09 #5D5C13 #908E1E #C3C029 #DAD84E

Accessibility & contrast

On white

3.46
#908E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#908E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E1E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E1E#FFFFFF#000000##000000
##908E1E1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e1e;
/* rgb */ color: rgb(144, 142, 30);
/* oklch */ color: oklch(62.9% 0.126 108.5);
Tailwind
colors: {
  custom: {
    50: '#b4ae64',
    500: '#908e1e',
    950: '#000000',
  },
}
SCSS
$custom: #908e1e;
$custom-light: #b4ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#908e1e",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 58.947,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62884,
    "c": 0.1263,
    "h": 108.5
  },
  "luminance": 0.25369
}

Semantic roles & 50–950 ramp

primary
#908E1E
secondary
#4D4FBD
accent
#42E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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