#908D38#908D38

#908D38 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.9% C 0.107 H 107.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#908D38
RGBrgb(144, 141, 56)
HSLhsl(58, 44%, 39%)
HSVhsv(58, 61%, 56%)
CMYKcmyk(0%, 2.1%, 61.1%, 43.5%)
CIE-LABlab(57.33, -10.30, 44.55)
CIE-LCHlch(57.33, 45.73, 103.02°)
OKLaboklab(62.86% -0.0317 0.1022)
OKLCHoklch(62.86% 0.107 107.2)
XYZxyz(21.7410, 25.2652, 7.4721)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D38 #383B90
analogous
#906138 #908D38 #679038
triadic
#908D38 #38908D #8D3890
tetradic
#908D38 #389061 #383B90 #903867
square
#908D38 #389061 #383B90 #903867
split-complementary
#908D38 #386790 #613890
monochromatic
#383716 #646227 #908D38 #B9B64C #CAC878

Accessibility & contrast

On white

3.47
#908D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#908D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D38
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D38#FFFFFF#000000##000000
##908D381.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98882E
Deuteranopia (green-blind)
#9A8B3D
Tritanopia (blue-blind)
#9A847B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908d38;
/* rgb */ color: rgb(144, 141, 56);
/* oklch */ color: oklch(62.9% 0.107 107.2);
Tailwind
colors: {
  custom: {
    50: '#b3ae72',
    500: '#908d38',
    950: '#000000',
  },
}
SCSS
$custom: #908d38;
$custom-light: #b3ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#908d38",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 57.955,
    "s": 44,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.10701,
    "h": 107.2
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#908D38
secondary
#7073B4
accent
#58D454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #908D38

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

Preview Lab → · Contrast checker → · Palette generator →

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