#907B17#907B17

#907B17 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.113 H 96.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#907B17
RGBrgb(144, 123, 23)
HSLhsl(50, 72%, 33%)
HSVhsv(50, 84%, 56%)
CMYKcmyk(0%, 14.6%, 84%, 43.5%)
CIE-LABlab(52.02, -2.15, 52.40)
CIE-LCHlch(52.02, 52.45, 92.35°)
OKLaboklab(58.57% -0.0121 0.1128)
OKLCHoklch(58.57% 0.113 96.1)
XYZxyz(18.7403, 20.1581, 3.7143)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907B17 #172C90
analogous
#903F17 #907B17 #689017
triadic
#907B17 #17907B #7B1790
tetradic
#907B17 #17903F #172C90 #901768
square
#907B17 #17903F #172C90 #901768
split-complementary
#907B17 #176890 #3F1790
monochromatic
#262106 #5B4E0F #907B17 #C5A81F #E1C541

Accessibility & contrast

On white

4.17
#907B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#907B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907B17
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907B17#FFFFFF#000000##000000
##907B171.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8E7F1F
Tritanopia (blue-blind)
#9C7169
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #907b17;
/* rgb */ color: rgb(144, 123, 23);
/* oklch */ color: oklch(58.6% 0.113 96.1);
Tailwind
colors: {
  custom: {
    50: '#b5a05f',
    500: '#907b17',
    950: '#000000',
  },
}
SCSS
$custom: #907b17;
$custom-light: #b5a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#907b17",
  "rgb": {
    "r": 144,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 49.587,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58565,
    "c": 0.11342,
    "h": 96.1
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#907B17
secondary
#4258C1
accent
#58EF39
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #907B17

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

Preview Lab → · Contrast checker → · Palette generator →

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