#907D17#907D17

#907D17 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.115 H 97.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#907D17
RGBrgb(144, 125, 23)
HSLhsl(51, 72%, 33%)
HSVhsv(51, 84%, 56%)
CMYKcmyk(0%, 13.2%, 84%, 43.5%)
CIE-LABlab(52.57, -3.27, 52.89)
CIE-LCHlch(52.57, 52.99, 93.54°)
OKLaboklab(59.01% -0.0153 0.1138)
OKLCHoklch(59.01% 0.115 97.7)
XYZxyz(18.9909, 20.6594, 3.7978)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907D17 #172A90
analogous
#904117 #907D17 #669017
triadic
#907D17 #17907D #7D1790
tetradic
#907D17 #179041 #172A90 #901766
square
#907D17 #179041 #172A90 #901766
split-complementary
#907D17 #176690 #411790
monochromatic
#262106 #5B4F0F #907D17 #C5AB1F #E1C841

Accessibility & contrast

On white

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

On black

5.13
#907D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907D17
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907D17#FFFFFF#000000##000000
##907D171.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#90801F
Tritanopia (blue-blind)
#9C736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #907d17;
/* rgb */ color: rgb(144, 125, 23);
/* oklch */ color: oklch(59.0% 0.115 97.7);
Tailwind
colors: {
  custom: {
    50: '#b5a25f',
    500: '#907d17',
    950: '#000000',
  },
}
SCSS
$custom: #907d17;
$custom-light: #b5a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#907d17",
  "rgb": {
    "r": 144,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 50.579,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59008,
    "c": 0.11484,
    "h": 97.7
  },
  "luminance": 0.20658
}

Semantic roles & 50–950 ramp

primary
#907D17
secondary
#4256C1
accent
#55EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #907D17

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

Preview Lab → · Contrast checker → · Palette generator →

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