#908F20#908F20

#908F20 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.126 H 109.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#908F20
RGBrgb(144, 143, 32)
HSLhsl(59, 64%, 35%)
HSVhsv(59, 78%, 56%)
CMYKcmyk(0%, 0.7%, 77.8%, 43.5%)
CIE-LABlab(57.73, -12.75, 54.63)
CIE-LCHlch(57.73, 56.10, 103.14°)
OKLaboklab(63.12% -0.0411 0.1194)
OKLCHoklch(63.12% 0.126 109)
XYZxyz(21.5856, 25.6792, 5.1857)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F20 #202190
analogous
#905720 #908F20 #599020
triadic
#908F20 #20908F #8F2090
tetradic
#908F20 #209057 #202190 #902059
square
#908F20 #209057 #202190 #902059
split-complementary
#908F20 #205990 #572090
monochromatic
#2C2C0A #5E5D15 #908F20 #C2C12B #D9D752

Accessibility & contrast

On white

3.42
#908F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#908F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908F20
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908F20#FFFFFF#000000##000000
##908F201.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8903
Deuteranopia (green-blind)
#9D8C29
Tritanopia (blue-blind)
#9B857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f20;
/* rgb */ color: rgb(144, 143, 32);
/* oklch */ color: oklch(63.1% 0.126 109.0);
Tailwind
colors: {
  custom: {
    50: '#b4af65',
    500: '#908f20',
    950: '#000000',
  },
}
SCSS
$custom: #908f20;
$custom-light: #b4af65;
$custom-dark: #000000;
JSON
{
  "hex": "#908f20",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 59.464,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63124,
    "c": 0.12625,
    "h": 109
  },
  "luminance": 0.25678
}

Semantic roles & 50–950 ramp

primary
#908F20
secondary
#5051BC
accent
#43E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908F20

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

Preview Lab → · Contrast checker → · Palette generator →

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