#907F1F#907F1F

#907F1F 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#907F1F
RGBrgb(144, 127, 31)
HSLhsl(51, 65%, 34%)
HSVhsv(51, 78%, 56%)
CMYKcmyk(0%, 11.8%, 78.5%, 43.5%)
CIE-LABlab(53.18, -4.09, 50.79)
CIE-LCHlch(53.18, 50.95, 94.60°)
OKLaboklab(59.5% -0.0169 0.111)
OKLCHoklch(59.5% 0.112 98.6)
XYZxyz(19.3393, 21.2079, 4.3709)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907F1F #1F3090
analogous
#90461F #907F1F #69901F
triadic
#907F1F #1F907F #7F1F90
tetradic
#907F1F #1F9046 #1F3090 #901F69
square
#907F1F #1F9046 #1F3090 #901F69
split-complementary
#907F1F #1F6990 #461F90
monochromatic
#2B2609 #5E5314 #907F1F #C2AB2A #D9C550

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##907F1F#FFFFFF#000000##000000
##907F1F1.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)
#8C7C0A
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#9C756D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #907f1f;
/* rgb */ color: rgb(144, 127, 31);
/* oklch */ color: oklch(59.5% 0.112 98.6);
Tailwind
colors: {
  custom: {
    50: '#b4a363',
    500: '#907f1f',
    950: '#000000',
  },
}
SCSS
$custom: #907f1f;
$custom-light: #b4a363;
$custom-dark: #000000;
JSON
{
  "hex": "#907f1f",
  "rgb": {
    "r": 144,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 50.973,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.11226,
    "h": 98.6
  },
  "luminance": 0.21207
}

Semantic roles & 50–950 ramp

primary
#907F1F
secondary
#4E5FBC
accent
#59E840
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #907F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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