#907917#907917

#907917 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.112 H 94.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#907917
RGBrgb(144, 121, 23)
HSLhsl(49, 72%, 33%)
HSVhsv(49, 84%, 56%)
CMYKcmyk(0%, 16%, 84%, 43.5%)
CIE-LABlab(51.46, -1.03, 51.92)
CIE-LCHlch(51.46, 51.93, 91.14°)
OKLaboklab(58.13% -0.009 0.1117)
OKLCHoklch(58.13% 0.112 94.6)
XYZxyz(18.4947, 19.6670, 3.6324)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907917 #172E90
analogous
#903C17 #907917 #6A9017
triadic
#907917 #179079 #791790
tetradic
#907917 #17903C #172E90 #90176A
square
#907917 #17903C #172E90 #90176A
split-complementary
#907917 #176A90 #3C1790
monochromatic
#262006 #5B4D0F #907917 #C5A51F #E1C241

Accessibility & contrast

On white

4.26
#907917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#907917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907917
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907917#FFFFFF#000000##000000
##9079171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8D7E1E
Tritanopia (blue-blind)
#9C6E67
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #907917;
/* rgb */ color: rgb(144, 121, 23);
/* oklch */ color: oklch(58.1% 0.112 94.6);
Tailwind
colors: {
  custom: {
    50: '#b59f5f',
    500: '#907917',
    950: '#000000',
  },
}
SCSS
$custom: #907917;
$custom-light: #b59f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#907917",
  "rgb": {
    "r": 144,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 48.595,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58125,
    "c": 0.11208,
    "h": 94.6
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#907917
secondary
#425AC1
accent
#5BEF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #907917

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

Preview Lab → · Contrast checker → · Palette generator →

#907917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva