#908D2F#908D2F

#908D2F is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.114 H 107.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#908D2F
RGBrgb(144, 141, 47)
HSLhsl(58, 51%, 37%)
HSVhsv(58, 67%, 56%)
CMYKcmyk(0%, 2.1%, 67.4%, 43.5%)
CIE-LABlab(57.26, -10.91, 48.48)
CIE-LCHlch(57.26, 49.69, 102.69°)
OKLaboklab(62.78% -0.0344 0.1091)
OKLCHoklch(62.78% 0.114 107.5)
XYZxyz(21.5403, 25.1850, 6.4153)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D2F #2F3290
analogous
#905C2F #908D2F #63902F
triadic
#908D2F #2F908D #8D2F90
tetradic
#908D2F #2F905C #2F3290 #902F63
square
#908D2F #2F905C #2F3290 #902F63
split-complementary
#908D2F #2F6390 #5C2F90
monochromatic
#343311 #626020 #908D2F #BEBA3E #CFCC6B

Accessibility & contrast

On white

3.48
#908D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#908D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D2F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D2F#FFFFFF#000000##000000
##908D2F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998722
Deuteranopia (green-blind)
#9A8B35
Tritanopia (blue-blind)
#9A847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d2f;
/* rgb */ color: rgb(144, 141, 47);
/* oklch */ color: oklch(62.8% 0.114 107.5);
Tailwind
colors: {
  custom: {
    50: '#b3ae6d',
    500: '#908d2f',
    950: '#000000',
  },
}
SCSS
$custom: #908d2f;
$custom-light: #b3ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#908d2f",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 58.144,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62775,
    "c": 0.11443,
    "h": 107.5
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#908D2F
secondary
#6568B6
accent
#52DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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