#908F2F#908F2F

#908F2F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.117 H 108.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#908F2F
RGBrgb(144, 143, 47)
HSLhsl(59, 51%, 37%)
HSVhsv(59, 67%, 56%)
CMYKcmyk(0%, 0.7%, 67.4%, 43.5%)
CIE-LABlab(57.83, -11.98, 49.07)
CIE-LCHlch(57.83, 50.51, 103.73°)
OKLaboklab(63.23% -0.0374 0.1104)
OKLCHoklch(63.23% 0.117 108.7)
XYZxyz(21.8379, 25.7801, 6.5145)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F2F #2F3090
analogous
#905E2F #908F2F #61902F
triadic
#908F2F #2F908F #8F2F90
tetradic
#908F2F #2F905E #2F3090 #902F61
square
#908F2F #2F905E #2F3090 #902F61
split-complementary
#908F2F #2F6190 #5E2F90
monochromatic
#343311 #626120 #908F2F #BEBD3E #CFCE6B

Accessibility & contrast

On white

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

On black

6.16
#908F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908F2F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908F2F#FFFFFF#000000##000000
##908F2F1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8922
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#9A867C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f2f;
/* rgb */ color: rgb(144, 143, 47);
/* oklch */ color: oklch(63.2% 0.117 108.7);
Tailwind
colors: {
  custom: {
    50: '#b3af6d',
    500: '#908f2f',
    950: '#000000',
  },
}
SCSS
$custom: #908f2f;
$custom-light: #b3af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#908f2f",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 59.381,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63232,
    "c": 0.11654,
    "h": 108.7
  },
  "luminance": 0.25779
}

Semantic roles & 50–950 ramp

primary
#908F2F
secondary
#6566B6
accent
#4FDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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