#908A1C#908A1C

#908A1C is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.123 H 106.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#908A1C
RGBrgb(144, 138, 28)
HSLhsl(57, 67%, 34%)
HSVhsv(57, 81%, 56%)
CMYKcmyk(0%, 4.2%, 80.6%, 43.5%)
CIE-LABlab(56.28, -10.23, 54.60)
CIE-LCHlch(56.28, 55.55, 100.62°)
OKLaboklab(61.96% -0.0344 0.1185)
OKLCHoklch(61.96% 0.123 106.2)
XYZxyz(20.8006, 24.1909, 4.6720)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A1C #1C2290
analogous
#90501C #908A1C #5C901C
triadic
#908A1C #1C908A #8A1C90
tetradic
#908A1C #1C9050 #1C2290 #901C5C
square
#908A1C #1C9050 #1C2290 #901C5C
split-complementary
#908A1C #1C5C90 #501C90
monochromatic
#2A2808 #5D5912 #908A1C #C3BB26 #DCD44A

Accessibility & contrast

On white

3.60
#908A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#908A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908A1C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908A1C#FFFFFF#000000##000000
##908A1C1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a1c;
/* rgb */ color: rgb(144, 138, 28);
/* oklch */ color: oklch(62.0% 0.123 106.2);
Tailwind
colors: {
  custom: {
    50: '#b4ab63',
    500: '#908a1c',
    950: '#000000',
  },
}
SCSS
$custom: #908a1c;
$custom-light: #b4ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#908a1c",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 56.897,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61959,
    "c": 0.12343,
    "h": 106.2
  },
  "luminance": 0.2419
}

Semantic roles & 50–950 ramp

primary
#908A1C
secondary
#4A50BE
accent
#46EA3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908A1C

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

Preview Lab → · Contrast checker → · Palette generator →

#908A1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva