#908F2A#908F2A

#908F2A is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.120 H 108.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#908F2A
RGBrgb(144, 143, 42)
HSLhsl(59, 55%, 36%)
HSVhsv(59, 71%, 56%)
CMYKcmyk(0%, 0.7%, 70.8%, 43.5%)
CIE-LABlab(57.79, -12.27, 51.06)
CIE-LCHlch(57.79, 52.52, 103.51°)
OKLaboklab(63.19% -0.0388 0.1137)
OKLCHoklch(63.19% 0.12 108.8)
XYZxyz(21.7428, 25.7420, 6.0134)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F2A #2A2B90
analogous
#905C2A #908F2A #5E902A
triadic
#908F2A #2A908F #8F2A90
tetradic
#908F2A #2A905C #2A2B90 #902A5E
square
#908F2A #2A905C #2A2B90 #902A5E
split-complementary
#908F2A #2A5E90 #5C2A90
monochromatic
#31310E #61601C #908F2A #BFBE38 #D1D063

Accessibility & contrast

On white

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

On black

6.15
#908F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908F2A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908F2A#FFFFFF#000000##000000
##908F2A1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f2a;
/* rgb */ color: rgb(144, 143, 42);
/* oklch */ color: oklch(63.2% 0.120 108.8);
Tailwind
colors: {
  custom: {
    50: '#b4af6a',
    500: '#908f2a',
    950: '#000000',
  },
}
SCSS
$custom: #908f2a;
$custom-light: #b4af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#908f2a",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 59.412,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.12014,
    "h": 108.8
  },
  "luminance": 0.25741
}

Semantic roles & 50–950 ramp

primary
#908F2A
secondary
#5E5FB7
accent
#4BDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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