#907D31#907D31

#907D31 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.098 H 95.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#907D31
RGBrgb(144, 125, 49)
HSLhsl(48, 49%, 38%)
HSVhsv(48, 66%, 56%)
CMYKcmyk(0%, 13.2%, 66%, 43.5%)
CIE-LABlab(52.75, -2.00, 42.84)
CIE-LCHlch(52.75, 42.89, 92.67°)
OKLaboklab(59.2% -0.0088 0.0975)
OKLCHoklch(59.2% 0.098 95.2)
XYZxyz(19.3905, 20.8193, 5.9023)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907D31 #314490
analogous
#904D31 #907D31 #739031
triadic
#907D31 #31907D #7D3190
tetradic
#907D31 #31904D #314490 #903173
square
#907D31 #31904D #314490 #903173
split-complementary
#907D31 #317390 #4D3190
monochromatic
#352E12 #625521 #907D31 #BEA541 #CEBA6E

Accessibility & contrast

On white

4.07
#907D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#907D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907D31
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907D31#FFFFFF#000000##000000
##907D311.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#9B746D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #907d31;
/* rgb */ color: rgb(144, 125, 49);
/* oklch */ color: oklch(59.2% 0.098 95.2);
Tailwind
colors: {
  custom: {
    50: '#b3a26d',
    500: '#907d31',
    950: '#000000',
  },
}
SCSS
$custom: #907d31;
$custom-light: #b3a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#907d31",
  "rgb": {
    "r": 144,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 48,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59204,
    "c": 0.09794,
    "h": 95.2
  },
  "luminance": 0.20818
}

Semantic roles & 50–950 ramp

primary
#907D31
secondary
#6877B5
accent
#6BD94F
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #907D31

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

Preview Lab → · Contrast checker → · Palette generator →

#907D31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva