#907E17#907E17

#907E17 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.116 H 98.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#907E17
RGBrgb(144, 126, 23)
HSLhsl(51, 72%, 33%)
HSVhsv(51, 84%, 56%)
CMYKcmyk(0%, 12.5%, 84%, 43.5%)
CIE-LABlab(52.86, -3.83, 53.13)
CIE-LCHlch(52.86, 53.27, 94.12°)
OKLaboklab(59.23% -0.0169 0.1143)
OKLCHoklch(59.23% 0.116 98.4)
XYZxyz(19.1181, 20.9139, 3.8402)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907E17 #172990
analogous
#904117 #907E17 #669017
triadic
#907E17 #17907E #7E1790
tetradic
#907E17 #179041 #172990 #901766
square
#907E17 #179041 #172990 #901766
split-complementary
#907E17 #176690 #411790
monochromatic
#262206 #5B500F #907E17 #C5AC1F #E1C941

Accessibility & contrast

On white

4.05
#907E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#907E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907E17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907E17#FFFFFF#000000##000000
##907E171.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#90811F
Tritanopia (blue-blind)
#9C746B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #907e17;
/* rgb */ color: rgb(144, 126, 23);
/* oklch */ color: oklch(59.2% 0.116 98.4);
Tailwind
colors: {
  custom: {
    50: '#b5a35f',
    500: '#907e17',
    950: '#000000',
  },
}
SCSS
$custom: #907e17;
$custom-light: #b5a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#907e17",
  "rgb": {
    "r": 144,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 51.074,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5923,
    "c": 0.11558,
    "h": 98.4
  },
  "luminance": 0.20913
}

Semantic roles & 50–950 ramp

primary
#907E17
secondary
#4255C1
accent
#54EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #907E17

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

Preview Lab → · Contrast checker → · Palette generator →

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