#908F2C#908F2C

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

Color values

HEX#908F2C
RGBrgb(144, 143, 44)
HSLhsl(59, 53%, 37%)
HSVhsv(59, 69%, 56%)
CMYKcmyk(0%, 0.7%, 69.4%, 43.5%)
CIE-LABlab(57.81, -12.16, 50.28)
CIE-LCHlch(57.81, 51.73, 103.60°)
OKLaboklab(63.21% -0.0383 0.1124)
OKLCHoklch(63.21% 0.119 108.8)
XYZxyz(21.7794, 25.7567, 6.2067)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F2C #2C2D90
analogous
#905D2C #908F2C #5F902C
triadic
#908F2C #2C908F #8F2C90
tetradic
#908F2C #2C905D #2C2D90 #902C5F
square
#908F2C #2C905D #2C2D90 #902C5F
split-complementary
#908F2C #2C5F90 #5D2C90
monochromatic
#32320F #61601E #908F2C #BFBE3A #D0CF66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908F2C#FFFFFF#000000##000000
##908F2C1.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)
#9B891D
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f2c;
/* rgb */ color: rgb(144, 143, 44);
/* oklch */ color: oklch(63.2% 0.119 108.8);
Tailwind
colors: {
  custom: {
    50: '#b3af6b',
    500: '#908f2c',
    950: '#000000',
  },
}
SCSS
$custom: #908f2c;
$custom-light: #b3af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#908f2c",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 59.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63207,
    "c": 0.11874,
    "h": 108.8
  },
  "luminance": 0.25756
}

Semantic roles & 50–950 ramp

primary
#908F2C
secondary
#6162B7
accent
#4DDD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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