#907F2E#907F2E

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

Color values

HEX#907F2E
RGBrgb(144, 127, 46)
HSLhsl(50, 52%, 37%)
HSVhsv(50, 68%, 56%)
CMYKcmyk(0%, 11.8%, 68.1%, 43.5%)
CIE-LABlab(53.28, -3.31, 44.79)
CIE-LCHlch(53.28, 44.91, 94.23°)
OKLaboklab(59.62% -0.0129 0.1012)
OKLCHoklch(59.62% 0.102 97.3)
XYZxyz(19.5850, 21.3062, 5.6651)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F2E #2E3F90
analogous
#904E2E #907F2E #70902E
triadic
#907F2E #2E907F #7F2E90
tetradic
#907F2E #2E904E #2E3F90 #902E70
square
#907F2E #2E904E #2E3F90 #902E70
split-complementary
#907F2E #2E7090 #4E2E90
monochromatic
#332D10 #62561F #907F2E #BEA83D #CFBD69

Accessibility & contrast

On white

3.99
#907F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#907F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907F2E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907F2E#FFFFFF#000000##000000
##907F2E1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#908232
Tritanopia (blue-blind)
#9B766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f2e;
/* rgb */ color: rgb(144, 127, 46);
/* oklch */ color: oklch(59.6% 0.102 97.3);
Tailwind
colors: {
  custom: {
    50: '#b3a36b',
    500: '#907f2e',
    950: '#000000',
  },
}
SCSS
$custom: #907f2e;
$custom-light: #b3a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#907f2e",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 49.592,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59616,
    "c": 0.10199,
    "h": 97.3
  },
  "luminance": 0.21305
}

Semantic roles & 50–950 ramp

primary
#907F2E
secondary
#6472B6
accent
#65DB4D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #907F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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