#908D2E#908D2E

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

Color values

HEX#908D2E
RGBrgb(144, 141, 46)
HSLhsl(58, 52%, 37%)
HSVhsv(58, 68%, 56%)
CMYKcmyk(0%, 2.1%, 68.1%, 43.5%)
CIE-LABlab(57.25, -10.97, 48.89)
CIE-LCHlch(57.25, 50.11, 102.65°)
OKLaboklab(62.77% -0.0347 0.1098)
OKLCHoklch(62.77% 0.115 107.5)
XYZxyz(21.5204, 25.1770, 6.3103)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D2E #2E3190
analogous
#905C2E #908D2E #62902E
triadic
#908D2E #2E908D #8D2E90
tetradic
#908D2E #2E905C #2E3190 #902E62
square
#908D2E #2E905C #2E3190 #902E62
split-complementary
#908D2E #2E6290 #5C2E90
monochromatic
#333210 #62601F #908D2E #BEBA3D #CFCC69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D2E#FFFFFF#000000##000000
##908D2E1.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)
#998721
Deuteranopia (green-blind)
#9A8B34
Tritanopia (blue-blind)
#9A847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d2e;
/* rgb */ color: rgb(144, 141, 46);
/* oklch */ color: oklch(62.8% 0.115 107.5);
Tailwind
colors: {
  custom: {
    50: '#b3ae6c',
    500: '#908d2e',
    950: '#000000',
  },
}
SCSS
$custom: #908d2e;
$custom-light: #b3ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#908d2e",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 58.163,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.11518,
    "h": 107.5
  },
  "luminance": 0.25176
}

Semantic roles & 50–950 ramp

primary
#908D2E
secondary
#6466B6
accent
#51DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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