#908F2B#908F2B

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

Color values

HEX#908F2B
RGBrgb(144, 143, 43)
HSLhsl(59, 54%, 37%)
HSVhsv(59, 70%, 56%)
CMYKcmyk(0%, 0.7%, 70.1%, 43.5%)
CIE-LABlab(57.80, -12.22, 50.67)
CIE-LCHlch(57.80, 52.13, 103.56°)
OKLaboklab(63.2% -0.0385 0.1131)
OKLCHoklch(63.2% 0.119 108.8)
XYZxyz(21.7609, 25.7493, 6.1089)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F2B #2B2C90
analogous
#905D2B #908F2B #5F902B
triadic
#908F2B #2B908F #8F2B90
tetradic
#908F2B #2B905D #2B2C90 #902B5F
square
#908F2B #2B905D #2B2C90 #902B5F
split-complementary
#908F2B #2B5F90 #5D2B90
monochromatic
#32310F #61601D #908F2B #BFBE39 #D1D065

Accessibility & contrast

On white

3.41
#908F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##908F2B#FFFFFF#000000##000000
##908F2B1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #908f2b;
/* rgb */ color: rgb(144, 143, 43);
/* oklch */ color: oklch(63.2% 0.119 108.8);
Tailwind
colors: {
  custom: {
    50: '#b3af6b',
    500: '#908f2b',
    950: '#000000',
  },
}
SCSS
$custom: #908f2b;
$custom-light: #b3af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#908f2b",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 59.406,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63199,
    "c": 0.11945,
    "h": 108.8
  },
  "luminance": 0.25749
}

Semantic roles & 50–950 ramp

primary
#908F2B
secondary
#6061B7
accent
#4CDD4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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