#908F2D#908F2D

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

Color values

HEX#908F2D
RGBrgb(144, 143, 45)
HSLhsl(59, 52%, 37%)
HSVhsv(59, 69%, 56%)
CMYKcmyk(0%, 0.7%, 68.7%, 43.5%)
CIE-LABlab(57.81, -12.10, 49.88)
CIE-LCHlch(57.81, 51.33, 103.64°)
OKLaboklab(63.22% -0.038 0.1117)
OKLCHoklch(63.22% 0.118 108.8)
XYZxyz(21.7985, 25.7643, 6.3069)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F2D #2D2E90
analogous
#905E2D #908F2D #60902D
triadic
#908F2D #2D908F #8F2D90
tetradic
#908F2D #2D905E #2D2E90 #902D60
square
#908F2D #2D905E #2D2E90 #902D60
split-complementary
#908F2D #2D6090 #5E2D90
monochromatic
#333210 #61611E #908F2D #BFBD3C #D0CF68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908F2D#FFFFFF#000000##000000
##908F2D1.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)
#9B891E
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f2d;
/* rgb */ color: rgb(144, 143, 45);
/* oklch */ color: oklch(63.2% 0.118 108.8);
Tailwind
colors: {
  custom: {
    50: '#b3af6c',
    500: '#908f2d',
    950: '#000000',
  },
}
SCSS
$custom: #908f2d;
$custom-light: #b3af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#908f2d",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 59.394,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63215,
    "c": 0.11802,
    "h": 108.8
  },
  "luminance": 0.25764
}

Semantic roles & 50–950 ramp

primary
#908F2D
secondary
#6263B6
accent
#4DDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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