#908E25#908E25

#908E25 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.122 H 108.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#908E25
RGBrgb(144, 142, 37)
HSLhsl(59, 59%, 35%)
HSVhsv(59, 74%, 56%)
CMYKcmyk(0%, 1.4%, 74.3%, 43.5%)
CIE-LABlab(57.47, -12.00, 52.65)
CIE-LCHlch(57.47, 54.00, 102.84°)
OKLaboklab(62.93% -0.0385 0.1161)
OKLCHoklch(62.93% 0.122 108.3)
XYZxyz(21.5093, 25.4096, 5.5214)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E25 #252790
analogous
#905925 #908E25 #5C9025
triadic
#908E25 #25908E #8E2590
tetradic
#908E25 #259059 #252790 #90255C
square
#908E25 #259059 #252790 #90255C
split-complementary
#908E25 #255C90 #592590
monochromatic
#2F2E0C #5F5E18 #908E25 #C1BE32 #D5D25B

Accessibility & contrast

On white

3.45
#908E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#908E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E25
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E25#FFFFFF#000000##000000
##908E251.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8810
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#9B857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e25;
/* rgb */ color: rgb(144, 142, 37);
/* oklch */ color: oklch(62.9% 0.122 108.3);
Tailwind
colors: {
  custom: {
    50: '#b4ae68',
    500: '#908e25',
    950: '#000000',
  },
}
SCSS
$custom: #908e25;
$custom-light: #b4ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#908e25",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 58.879,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62926,
    "c": 0.12235,
    "h": 108.3
  },
  "luminance": 0.25409
}

Semantic roles & 50–950 ramp

primary
#908E25
secondary
#5759B9
accent
#48E245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908E25

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

Preview Lab → · Contrast checker → · Palette generator →

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