#907F17#907F17

#907F17 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.116 H 99.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#907F17
RGBrgb(144, 127, 23)
HSLhsl(52, 72%, 33%)
HSVhsv(52, 84%, 56%)
CMYKcmyk(0%, 11.8%, 84%, 43.5%)
CIE-LABlab(53.14, -4.39, 53.37)
CIE-LCHlch(53.14, 53.55, 94.70°)
OKLaboklab(59.45% -0.0184 0.1149)
OKLCHoklch(59.45% 0.116 99.1)
XYZxyz(19.2466, 21.1709, 3.8831)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F17 #172890
analogous
#904217 #907F17 #659017
triadic
#907F17 #17907F #7F1790
tetradic
#907F17 #179042 #172890 #901765
square
#907F17 #179042 #172890 #901765
split-complementary
#907F17 #176590 #421790
monochromatic
#262206 #5B500F #907F17 #C5AE1F #E1CA41

Accessibility & contrast

On white

4.01
#907F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#907F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907F17
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907F17#FFFFFF#000000##000000
##907F171.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#918120
Tritanopia (blue-blind)
#9C756C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f17;
/* rgb */ color: rgb(144, 127, 23);
/* oklch */ color: oklch(59.5% 0.116 99.1);
Tailwind
colors: {
  custom: {
    50: '#b4a35f',
    500: '#907f17',
    950: '#000000',
  },
}
SCSS
$custom: #907f17;
$custom-light: #b4a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#907f17",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 51.57,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59453,
    "c": 0.11634,
    "h": 99.1
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#907F17
secondary
#4254C1
accent
#52EF39
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #907F17

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

Preview Lab → · Contrast checker → · Palette generator →

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