#907D1F#907D1F

#907D1F is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.1% C 0.111 H 97.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#907D1F
RGBrgb(144, 125, 31)
HSLhsl(50, 65%, 34%)
HSVhsv(50, 78%, 56%)
CMYKcmyk(0%, 13.2%, 78.5%, 43.5%)
CIE-LABlab(52.62, -2.98, 50.27)
CIE-LCHlch(52.62, 50.36, 93.39°)
OKLaboklab(59.05% -0.0137 0.1099)
OKLCHoklch(59.05% 0.111 97.1)
XYZxyz(19.0835, 20.6965, 4.2857)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907D1F #1F3290
analogous
#90451F #907D1F #6A901F
triadic
#907D1F #1F907D #7D1F90
tetradic
#907D1F #1F9045 #1F3290 #901F6A
square
#907D1F #1F9045 #1F3290 #901F6A
split-complementary
#907D1F #1F6A90 #451F90
monochromatic
#2B2609 #5E5114 #907D1F #C2A92A #D9C250

Accessibility & contrast

On white

4.09
#907D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#907D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907D1F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907D1F#FFFFFF#000000##000000
##907D1F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#9C736B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #907d1f;
/* rgb */ color: rgb(144, 125, 31);
/* oklch */ color: oklch(59.1% 0.111 97.1);
Tailwind
colors: {
  custom: {
    50: '#b4a263',
    500: '#907d1f',
    950: '#000000',
  },
}
SCSS
$custom: #907d1f;
$custom-light: #b4a263;
$custom-dark: #000000;
JSON
{
  "hex": "#907d1f",
  "rgb": {
    "r": 144,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 49.912,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.11073,
    "h": 97.1
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#907D1F
secondary
#4E61BC
accent
#5CE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #907D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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