#907F27#907F27

#907F27 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.107 H 98.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#907F27
RGBrgb(144, 127, 39)
HSLhsl(50, 57%, 36%)
HSVhsv(50, 73%, 56%)
CMYKcmyk(0%, 11.8%, 72.9%, 43.5%)
CIE-LABlab(53.23, -3.71, 47.75)
CIE-LCHlch(53.23, 47.90, 94.44°)
OKLaboklab(59.56% -0.0149 0.1062)
OKLCHoklch(59.56% 0.107 98)
XYZxyz(19.4581, 21.2555, 4.9969)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F27 #273890
analogous
#904A27 #907F27 #6C9027
triadic
#907F27 #27907F #7F2790
tetradic
#907F27 #27904A #273890 #90276C
square
#907F27 #27904A #273890 #90276C
split-complementary
#907F27 #276C90 #4A2790
monochromatic
#302A0D #60551A #907F27 #C0A934 #D3C05E

Accessibility & contrast

On white

4.00
#907F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#907F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907F27
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907F27#FFFFFF#000000##000000
##907F271.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#90822C
Tritanopia (blue-blind)
#9C756D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f27;
/* rgb */ color: rgb(144, 127, 39);
/* oklch */ color: oklch(59.6% 0.107 98.0);
Tailwind
colors: {
  custom: {
    50: '#b4a367',
    500: '#907f27',
    950: '#000000',
  },
}
SCSS
$custom: #907f27;
$custom-light: #b4a367;
$custom-dark: #000000;
JSON
{
  "hex": "#907f27",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 50.286,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.1072,
    "h": 98
  },
  "luminance": 0.21255
}

Semantic roles & 50–950 ramp

primary
#907F27
secondary
#5A69B9
accent
#60E147
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #907F27

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

Preview Lab → · Contrast checker → · Palette generator →

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