#908F27#908F27

#908F27 is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.122 H 108.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#908F27
RGBrgb(144, 143, 39)
HSLhsl(59, 57%, 36%)
HSVhsv(59, 73%, 56%)
CMYKcmyk(0%, 0.7%, 72.9%, 43.5%)
CIE-LABlab(57.77, -12.43, 52.20)
CIE-LCHlch(57.77, 53.66, 103.39°)
OKLaboklab(63.17% -0.0395 0.1156)
OKLCHoklch(63.17% 0.122 108.9)
XYZxyz(21.6911, 25.7214, 5.7412)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908F27 #272890
analogous
#905A27 #908F27 #5C9027
triadic
#908F27 #27908F #8F2790
tetradic
#908F27 #27905A #272890 #90275C
square
#908F27 #27905A #272890 #90275C
split-complementary
#908F27 #275C90 #5A2790
monochromatic
#302F0D #605F1A #908F27 #C0BF34 #D3D25E

Accessibility & contrast

On white

3.42
#908F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#908F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908F27
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908F27#FFFFFF#000000##000000
##908F271.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908f27;
/* rgb */ color: rgb(144, 143, 39);
/* oklch */ color: oklch(63.2% 0.122 108.9);
Tailwind
colors: {
  custom: {
    50: '#b4af69',
    500: '#908f27',
    950: '#000000',
  },
}
SCSS
$custom: #908f27;
$custom-light: #b4af69;
$custom-dark: #000000;
JSON
{
  "hex": "#908f27",
  "rgb": {
    "r": 144,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 59.429,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.12212,
    "h": 108.9
  },
  "luminance": 0.25721
}

Semantic roles & 50–950 ramp

primary
#908F27
secondary
#5A5BB9
accent
#49E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #908F27

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

Preview Lab → · Contrast checker → · Palette generator →

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