#907E1F#907E1F

#907E1F is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.111 H 97.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#907E1F
RGBrgb(144, 126, 31)
HSLhsl(50, 65%, 34%)
HSVhsv(50, 78%, 56%)
CMYKcmyk(0%, 12.5%, 78.5%, 43.5%)
CIE-LABlab(52.90, -3.53, 50.53)
CIE-LCHlch(52.90, 50.65, 94.00°)
OKLaboklab(59.28% -0.0153 0.1104)
OKLCHoklch(59.28% 0.111 97.9)
XYZxyz(19.2108, 20.9509, 4.3281)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907E1F #1F3190
analogous
#90451F #907E1F #6A901F
triadic
#907E1F #1F907E #7E1F90
tetradic
#907E1F #1F9045 #1F3190 #901F6A
square
#907E1F #1F9045 #1F3190 #901F6A
split-complementary
#907E1F #1F6A90 #451F90
monochromatic
#2B2609 #5E5214 #907E1F #C2AA2A #D9C350

Accessibility & contrast

On white

4.05
#907E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#907E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907E1F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907E1F#FFFFFF#000000##000000
##907E1F1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#9C746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #907e1f;
/* rgb */ color: rgb(144, 126, 31);
/* oklch */ color: oklch(59.3% 0.111 97.9);
Tailwind
colors: {
  custom: {
    50: '#b4a363',
    500: '#907e1f',
    950: '#000000',
  },
}
SCSS
$custom: #907e1f;
$custom-light: #b4a363;
$custom-dark: #000000;
JSON
{
  "hex": "#907e1f",
  "rgb": {
    "r": 144,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 50.442,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.11149,
    "h": 97.9
  },
  "luminance": 0.2095
}

Semantic roles & 50–950 ramp

primary
#907E1F
secondary
#4E60BC
accent
#5BE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #907E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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