#907B1F#907B1F

#907B1F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.6% C 0.109 H 95.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#907B1F
RGBrgb(144, 123, 31)
HSLhsl(49, 65%, 34%)
HSVhsv(49, 78%, 56%)
CMYKcmyk(0%, 14.6%, 78.5%, 43.5%)
CIE-LABlab(52.06, -1.86, 49.75)
CIE-LCHlch(52.06, 49.79, 92.14°)
OKLaboklab(58.61% -0.0105 0.1088)
OKLCHoklch(58.61% 0.109 95.5)
XYZxyz(18.8329, 20.1952, 4.2022)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907B1F #1F3490
analogous
#90431F #907B1F #6C901F
triadic
#907B1F #1F907B #7B1F90
tetradic
#907B1F #1F9043 #1F3490 #901F6C
square
#907B1F #1F9043 #1F3490 #901F6C
split-complementary
#907B1F #1F6C90 #431F90
monochromatic
#2B2509 #5E5014 #907B1F #C2A62A #D9C050

Accessibility & contrast

On white

4.17
#907B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#907B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907B1F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907B1F#FFFFFF#000000##000000
##907B1F1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#9C7169
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #907b1f;
/* rgb */ color: rgb(144, 123, 31);
/* oklch */ color: oklch(58.6% 0.109 95.5);
Tailwind
colors: {
  custom: {
    50: '#b4a062',
    500: '#907b1f',
    950: '#000000',
  },
}
SCSS
$custom: #907b1f;
$custom-light: #b4a062;
$custom-dark: #000000;
JSON
{
  "hex": "#907b1f",
  "rgb": {
    "r": 144,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 48.85,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.10929,
    "h": 95.5
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#907B1F
secondary
#4E63BC
accent
#5FE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #907B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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