#908E2F#908E2F

#908E2F is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.115 H 108.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#908E2F
RGBrgb(144, 142, 47)
HSLhsl(59, 51%, 37%)
HSVhsv(59, 67%, 56%)
CMYKcmyk(0%, 1.4%, 67.4%, 43.5%)
CIE-LABlab(57.54, -11.45, 48.77)
CIE-LCHlch(57.54, 50.10, 103.21°)
OKLaboklab(63% -0.0359 0.1098)
OKLCHoklch(63% 0.115 108.1)
XYZxyz(21.6884, 25.4812, 6.4647)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E2F #2F3190
analogous
#905E2F #908E2F #61902F
triadic
#908E2F #2F908E #8E2F90
tetradic
#908E2F #2F905E #2F3190 #902F61
square
#908E2F #2F905E #2F3190 #902F61
split-complementary
#908E2F #2F6190 #5E2F90
monochromatic
#343311 #626120 #908E2F #BEBB3E #CFCD6B

Accessibility & contrast

On white

3.44
#908E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#908E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E2F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E2F#FFFFFF#000000##000000
##908E2F1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#9A857B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e2f;
/* rgb */ color: rgb(144, 142, 47);
/* oklch */ color: oklch(63.0% 0.115 108.1);
Tailwind
colors: {
  custom: {
    50: '#b3ae6d',
    500: '#908e2f',
    950: '#000000',
  },
}
SCSS
$custom: #908e2f;
$custom-light: #b3ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#908e2f",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 58.763,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.11548,
    "h": 108.1
  },
  "luminance": 0.25481
}

Semantic roles & 50–950 ramp

primary
#908E2F
secondary
#6567B6
accent
#50DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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