#907F2D#907F2D

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

Color values

HEX#907F2D
RGBrgb(144, 127, 45)
HSLhsl(50, 52%, 37%)
HSVhsv(50, 69%, 56%)
CMYKcmyk(0%, 11.8%, 68.7%, 43.5%)
CIE-LABlab(53.27, -3.37, 45.23)
CIE-LCHlch(53.27, 45.35, 94.26°)
OKLaboklab(59.61% -0.0132 0.1019)
OKLCHoklch(59.61% 0.103 97.4)
XYZxyz(19.5655, 21.2985, 5.5625)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F2D #2D3E90
analogous
#904E2D #907F2D #70902D
triadic
#907F2D #2D907F #7F2D90
tetradic
#907F2D #2D904E #2D3E90 #902D70
square
#907F2D #2D904E #2D3E90 #902D70
split-complementary
#907F2D #2D7090 #4E2D90
monochromatic
#332D10 #61561E #907F2D #BFA83C #D0BE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##907F2D#FFFFFF#000000##000000
##907F2D1.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)
#8C7C22
Deuteranopia (green-blind)
#908231
Tritanopia (blue-blind)
#9B766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f2d;
/* rgb */ color: rgb(144, 127, 45);
/* oklch */ color: oklch(59.6% 0.103 97.4);
Tailwind
colors: {
  custom: {
    50: '#b4a36a',
    500: '#907f2d',
    950: '#000000',
  },
}
SCSS
$custom: #907f2d;
$custom-light: #b4a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#907f2d",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 49.697,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59607,
    "c": 0.10278,
    "h": 97.4
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#907F2D
secondary
#6271B6
accent
#65DC4C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #907F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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