#907B18#907B18

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

Color values

HEX#907B18
RGBrgb(144, 123, 24)
HSLhsl(50, 71%, 33%)
HSVhsv(50, 83%, 56%)
CMYKcmyk(0%, 14.6%, 83.3%, 43.5%)
CIE-LABlab(52.02, -2.12, 52.10)
CIE-LCHlch(52.02, 52.14, 92.33°)
OKLaboklab(58.57% -0.012 0.1123)
OKLCHoklch(58.57% 0.113 96.1)
XYZxyz(18.7505, 20.1622, 3.7681)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#907B18 #182D90
analogous
#903F18 #907B18 #699018
triadic
#907B18 #18907B #7B1890
tetradic
#907B18 #18903F #182D90 #901869
square
#907B18 #18903F #182D90 #901869
split-complementary
#907B18 #186990 #3F1890
monochromatic
#272107 #5C4E0F #907B18 #C4A821 #E0C443

Accessibility & contrast

On white

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

On black

5.03
#907B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #907B18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##907B18#FFFFFF#000000##000000
##907B181.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8E7F1F
Tritanopia (blue-blind)
#9C7169
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #907b18;
/* rgb */ color: rgb(144, 123, 24);
/* oklch */ color: oklch(58.6% 0.113 96.1);
Tailwind
colors: {
  custom: {
    50: '#b5a05f',
    500: '#907b18',
    950: '#000000',
  },
}
SCSS
$custom: #907b18;
$custom-light: #b5a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#907b18",
  "rgb": {
    "r": 144,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 49.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.11296,
    "h": 96.1
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#907B18
secondary
#4359C0
accent
#59EE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #907B18

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

Preview Lab → · Contrast checker → · Palette generator →

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