#907F20#907F20

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

Color values

HEX#907F20
RGBrgb(144, 127, 32)
HSLhsl(51, 64%, 35%)
HSVhsv(51, 78%, 56%)
CMYKcmyk(0%, 11.8%, 77.8%, 43.5%)
CIE-LABlab(53.18, -4.05, 50.43)
CIE-LCHlch(53.18, 50.59, 94.59°)
OKLaboklab(59.5% -0.0166 0.1104)
OKLCHoklch(59.5% 0.112 98.6)
XYZxyz(19.3527, 21.2133, 4.4414)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F20 #203190
analogous
#904720 #907F20 #699020
triadic
#907F20 #20907F #7F2090
tetradic
#907F20 #209047 #203190 #902069
square
#907F20 #209047 #203190 #902069
split-complementary
#907F20 #206990 #472090
monochromatic
#2C270A #5E5315 #907F20 #C2AB2B #D9C452

Accessibility & contrast

On white

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

On black

5.24
#907F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907F20
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907F20#FFFFFF#000000##000000
##907F201.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0D
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#9C756D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f20;
/* rgb */ color: rgb(144, 127, 32);
/* oklch */ color: oklch(59.5% 0.112 98.6);
Tailwind
colors: {
  custom: {
    50: '#b4a363',
    500: '#907f20',
    950: '#000000',
  },
}
SCSS
$custom: #907f20;
$custom-light: #b4a363;
$custom-dark: #000000;
JSON
{
  "hex": "#907f20",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 50.893,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.11169,
    "h": 98.6
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#907F20
secondary
#5060BC
accent
#5AE741
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #907F20

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

Preview Lab → · Contrast checker → · Palette generator →

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