#908D30#908D30

#908D30 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.114 H 107.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#908D30
RGBrgb(144, 141, 48)
HSLhsl(58, 50%, 38%)
HSVhsv(58, 67%, 56%)
CMYKcmyk(0%, 2.1%, 66.7%, 43.5%)
CIE-LABlab(57.26, -10.85, 48.06)
CIE-LCHlch(57.26, 49.27, 102.72°)
OKLaboklab(62.78% -0.0341 0.1084)
OKLCHoklch(62.78% 0.114 107.5)
XYZxyz(21.5607, 25.1931, 6.5228)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D30 #303390
analogous
#905D30 #908D30 #639030
triadic
#908D30 #30908D #8D3090
tetradic
#908D30 #30905D #303390 #903063
square
#908D30 #30905D #303390 #903063
split-complementary
#908D30 #306390 #5D3090
monochromatic
#343311 #626021 #908D30 #BEBA3F #CECB6C

Accessibility & contrast

On white

3.48
#908D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#908D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D30
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D30#FFFFFF#000000##000000
##908D301.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998823
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#9A847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d30;
/* rgb */ color: rgb(144, 141, 48);
/* oklch */ color: oklch(62.8% 0.114 107.5);
Tailwind
colors: {
  custom: {
    50: '#b3ae6e',
    500: '#908d30',
    950: '#000000',
  },
}
SCSS
$custom: #908d30;
$custom-light: #b3ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#908d30",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 58.125,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62784,
    "c": 0.11366,
    "h": 107.5
  },
  "luminance": 0.25192
}

Semantic roles & 50–950 ramp

primary
#908D30
secondary
#6669B5
accent
#53DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #908D30

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

Preview Lab → · Contrast checker → · Palette generator →

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