#907918#907918

#907918 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.112 H 94.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#907918
RGBrgb(144, 121, 24)
HSLhsl(49, 71%, 33%)
HSVhsv(49, 83%, 56%)
CMYKcmyk(0%, 16%, 83.3%, 43.5%)
CIE-LABlab(51.46, -1.00, 51.62)
CIE-LCHlch(51.46, 51.63, 91.11°)
OKLaboklab(58.13% -0.0088 0.1113)
OKLCHoklch(58.13% 0.112 94.5)
XYZxyz(18.5049, 19.6711, 3.6862)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907918 #182F90
analogous
#903D18 #907918 #6B9018
triadic
#907918 #189079 #791890
tetradic
#907918 #18903D #182F90 #90186B
square
#907918 #18903D #182F90 #90186B
split-complementary
#907918 #186B90 #3D1890
monochromatic
#272107 #5C4D0F #907918 #C4A521 #E0C243

Accessibility & contrast

On white

4.26
#907918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#907918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907918
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907918#FFFFFF#000000##000000
##9079181.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8D7E1F
Tritanopia (blue-blind)
#9C6F67
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #907918;
/* rgb */ color: rgb(144, 121, 24);
/* oklch */ color: oklch(58.1% 0.112 94.5);
Tailwind
colors: {
  custom: {
    50: '#b59f5f',
    500: '#907918',
    950: '#000000',
  },
}
SCSS
$custom: #907918;
$custom-light: #b59f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#907918",
  "rgb": {
    "r": 144,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 48.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.11162,
    "h": 94.5
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#907918
secondary
#435BC0
accent
#5CEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #907918

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

Preview Lab → · Contrast checker → · Palette generator →

#907918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva