#908118#908118

#908118 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.117 H 100.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#908118
RGBrgb(144, 129, 24)
HSLhsl(53, 71%, 33%)
HSVhsv(53, 83%, 56%)
CMYKcmyk(0%, 10.4%, 83.3%, 43.5%)
CIE-LABlab(53.70, -5.46, 53.56)
CIE-LCHlch(53.70, 53.84, 95.82°)
OKLaboklab(59.9% -0.0214 0.1155)
OKLCHoklch(59.9% 0.117 100.5)
XYZxyz(19.5177, 21.6967, 4.0238)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908118 #182790
analogous
#904518 #908118 #639018
triadic
#908118 #189081 #811890
tetradic
#908118 #189045 #182790 #901863
square
#908118 #189045 #182790 #901863
split-complementary
#908118 #186390 #451890
monochromatic
#272307 #5C520F #908118 #C4B021 #E0CC43

Accessibility & contrast

On white

3.93
#908118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#908118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908118
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908118#FFFFFF#000000##000000
##9081181.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#928321
Tritanopia (blue-blind)
#9C776E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #908118;
/* rgb */ color: rgb(144, 129, 24);
/* oklch */ color: oklch(59.9% 0.117 100.5);
Tailwind
colors: {
  custom: {
    50: '#b4a560',
    500: '#908118',
    950: '#000000',
  },
}
SCSS
$custom: #908118;
$custom-light: #b4a560;
$custom-dark: #000000;
JSON
{
  "hex": "#908118",
  "rgb": {
    "r": 144,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 52.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.11745,
    "h": 100.5
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#908118
secondary
#4353C0
accent
#50EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #908118

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

Preview Lab → · Contrast checker → · Palette generator →

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