#908C1F#908C1F

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

Color values

HEX#908C1F
RGBrgb(144, 140, 31)
HSLhsl(58, 65%, 34%)
HSVhsv(58, 78%, 56%)
CMYKcmyk(0%, 2.8%, 78.5%, 43.5%)
CIE-LABlab(56.87, -11.19, 54.17)
CIE-LCHlch(56.87, 55.31, 101.67°)
OKLaboklab(62.43% -0.0368 0.1182)
OKLCHoklch(62.43% 0.124 107.3)
XYZxyz(21.1279, 24.7851, 4.9671)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C1F #1F2390
analogous
#90541F #908C1F #5C901F
triadic
#908C1F #1F908C #8C1F90
tetradic
#908C1F #1F9054 #1F2390 #901F5C
square
#908C1F #1F9054 #1F2390 #901F5C
split-complementary
#908C1F #1F5C90 #541F90
monochromatic
#2B2A09 #5E5B14 #908C1F #C2BD2A #D9D450

Accessibility & contrast

On white

3.53
#908C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##908C1F#FFFFFF#000000##000000
##908C1F1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988602
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#9B8278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908c1f;
/* rgb */ color: rgb(144, 140, 31);
/* oklch */ color: oklch(62.4% 0.124 107.3);
Tailwind
colors: {
  custom: {
    50: '#b4ad65',
    500: '#908c1f',
    950: '#000000',
  },
}
SCSS
$custom: #908c1f;
$custom-light: #b4ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#908c1f",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 57.876,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62432,
    "c": 0.12381,
    "h": 107.3
  },
  "luminance": 0.24784
}

Semantic roles & 50–950 ramp

primary
#908C1F
secondary
#4E52BC
accent
#46E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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