#907F2C#907F2C

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

Color values

HEX#907F2C
RGBrgb(144, 127, 44)
HSLhsl(50, 53%, 37%)
HSVhsv(50, 69%, 56%)
CMYKcmyk(0%, 11.8%, 69.4%, 43.5%)
CIE-LABlab(53.27, -3.43, 45.66)
CIE-LCHlch(53.27, 45.79, 94.30°)
OKLaboklab(59.6% -0.0135 0.1027)
OKLCHoklch(59.6% 0.104 97.5)
XYZxyz(19.5465, 21.2908, 5.4623)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F2C #2C3D90
analogous
#904D2C #907F2C #6F902C
triadic
#907F2C #2C907F #7F2C90
tetradic
#907F2C #2C904D #2C3D90 #902C6F
square
#907F2C #2C904D #2C3D90 #902C6F
split-complementary
#907F2C #2C6F90 #4D2C90
monochromatic
#322C0F #61561E #907F2C #BFA83A #D0BE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##907F2C#FFFFFF#000000##000000
##907F2C1.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)
#8C7C21
Deuteranopia (green-blind)
#908231
Tritanopia (blue-blind)
#9B756E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f2c;
/* rgb */ color: rgb(144, 127, 44);
/* oklch */ color: oklch(59.6% 0.104 97.5);
Tailwind
colors: {
  custom: {
    50: '#b4a36a',
    500: '#907f2c',
    950: '#000000',
  },
}
SCSS
$custom: #907f2c;
$custom-light: #b4a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#907f2c",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 49.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59598,
    "c": 0.10356,
    "h": 97.5
  },
  "luminance": 0.2129
}

Semantic roles & 50–950 ramp

primary
#907F2C
secondary
#6170B7
accent
#64DD4B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #907F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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