#908F2E#908F2E

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

Color values

HEX#908F2E
RGBrgb(144, 143, 46)
HSLhsl(59, 52%, 37%)
HSVhsv(59, 68%, 56%)
CMYKcmyk(0%, 0.7%, 68.1%, 43.5%)
CIE-LABlab(57.82, -12.04, 49.48)
CIE-LCHlch(57.82, 50.92, 103.68°)
OKLaboklab(63.22% -0.0377 0.1111)
OKLCHoklch(63.22% 0.117 108.8)
XYZxyz(21.8179, 25.7721, 6.4095)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F2E #2E2F90
analogous
#905E2E #908F2E #60902E
triadic
#908F2E #2E908F #8F2E90
tetradic
#908F2E #2E905E #2E2F90 #902E60
square
#908F2E #2E905E #2E2F90 #902E60
split-complementary
#908F2E #2E6090 #5E2E90
monochromatic
#333310 #62611F #908F2E #BEBD3D #CFCE69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908F2E#FFFFFF#000000##000000
##908F2E1.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)
#9B8920
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f2e;
/* rgb */ color: rgb(144, 143, 46);
/* oklch */ color: oklch(63.2% 0.117 108.8);
Tailwind
colors: {
  custom: {
    50: '#b3af6d',
    500: '#908f2e',
    950: '#000000',
  },
}
SCSS
$custom: #908f2e;
$custom-light: #b3af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#908f2e",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 59.388,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63223,
    "c": 0.11729,
    "h": 108.8
  },
  "luminance": 0.25771
}

Semantic roles & 50–950 ramp

primary
#908F2E
secondary
#6465B6
accent
#4EDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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