#908A1E#908A1E

#908A1E is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.122 H 106.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#908A1E
RGBrgb(144, 138, 30)
HSLhsl(57, 66%, 34%)
HSVhsv(57, 79%, 56%)
CMYKcmyk(0%, 4.2%, 79.2%, 43.5%)
CIE-LABlab(56.29, -10.16, 53.97)
CIE-LCHlch(56.29, 54.92, 100.66°)
OKLaboklab(61.97% -0.034 0.1176)
OKLCHoklch(61.97% 0.122 106.1)
XYZxyz(20.8253, 24.2008, 4.8023)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A1E #1E2490
analogous
#90511E #908A1E #5D901E
triadic
#908A1E #1E908A #8A1E90
tetradic
#908A1E #1E9051 #1E2490 #901E5D
square
#908A1E #1E9051 #1E2490 #901E5D
split-complementary
#908A1E #1E5D90 #511E90
monochromatic
#2B2909 #5D5913 #908A1E #C3BB29 #DAD34E

Accessibility & contrast

On white

3.60
#908A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#908A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908A1E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908A1E#FFFFFF#000000##000000
##908A1E1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a1e;
/* rgb */ color: rgb(144, 138, 30);
/* oklch */ color: oklch(62.0% 0.122 106.1);
Tailwind
colors: {
  custom: {
    50: '#b4ab64',
    500: '#908a1e',
    950: '#000000',
  },
}
SCSS
$custom: #908a1e;
$custom-light: #b4ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#908a1e",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 56.842,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.12241,
    "h": 106.1
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#908A1E
secondary
#4D53BD
accent
#48E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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