#908C25#908C25

#908C25 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.5% C 0.120 H 107.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#908C25
RGBrgb(144, 140, 37)
HSLhsl(58, 59%, 35%)
HSVhsv(58, 74%, 56%)
CMYKcmyk(0%, 2.8%, 74.3%, 43.5%)
CIE-LABlab(56.90, -10.93, 52.10)
CIE-LCHlch(56.90, 53.24, 101.84°)
OKLaboklab(62.47% -0.0355 0.115)
OKLCHoklch(62.47% 0.12 107.2)
XYZxyz(21.2144, 24.8198, 5.4231)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C25 #252990
analogous
#905625 #908C25 #5E9025
triadic
#908C25 #25908C #8C2590
tetradic
#908C25 #259056 #252990 #90255E
square
#908C25 #259056 #252990 #90255E
split-complementary
#908C25 #255E90 #562590
monochromatic
#2F2D0C #5F5D18 #908C25 #C1BB32 #D5D05B

Accessibility & contrast

On white

3.52
#908C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#908C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908C25
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908C25#FFFFFF#000000##000000
##908C251.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988611
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#9B8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908c25;
/* rgb */ color: rgb(144, 140, 37);
/* oklch */ color: oklch(62.5% 0.120 107.2);
Tailwind
colors: {
  custom: {
    50: '#b4ad67',
    500: '#908c25',
    950: '#000000',
  },
}
SCSS
$custom: #908c25;
$custom-light: #b4ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#908c25",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 57.757,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.12034,
    "h": 107.2
  },
  "luminance": 0.24819
}

Semantic roles & 50–950 ramp

primary
#908C25
secondary
#575BB9
accent
#4BE245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908C25

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

Preview Lab → · Contrast checker → · Palette generator →

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