#908E1C#908E1C

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

Color values

HEX#908E1C
RGBrgb(144, 142, 28)
HSLhsl(59, 67%, 34%)
HSVhsv(59, 81%, 56%)
CMYKcmyk(0%, 1.4%, 80.6%, 43.5%)
CIE-LABlab(57.42, -12.38, 55.62)
CIE-LCHlch(57.42, 56.98, 102.55°)
OKLaboklab(62.87% -0.0404 0.1207)
OKLCHoklch(62.87% 0.127 108.5)
XYZxyz(21.3851, 25.3598, 4.8668)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E1C #1C1E90
analogous
#90541C #908E1C #58901C
triadic
#908E1C #1C908E #8E1C90
tetradic
#908E1C #1C9054 #1C1E90 #901C58
square
#908E1C #1C9054 #1C1E90 #901C58
split-complementary
#908E1C #1C5890 #541C90
monochromatic
#2A2908 #5D5B12 #908E1C #C3C126 #DCD94A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908E1C#FFFFFF#000000##000000
##908E1C1.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)
#9C8C26
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e1c;
/* rgb */ color: rgb(144, 142, 28);
/* oklch */ color: oklch(62.9% 0.127 108.5);
Tailwind
colors: {
  custom: {
    50: '#b4ae64',
    500: '#908e1c',
    950: '#000000',
  },
}
SCSS
$custom: #908e1c;
$custom-light: #b4ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#908e1c",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 58.966,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.1273,
    "h": 108.5
  },
  "luminance": 0.25359
}

Semantic roles & 50–950 ramp

primary
#908E1C
secondary
#4A4CBE
accent
#40EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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