#918E25#918E25

#918E25 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.122 H 107.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#918E25
RGBrgb(145, 142, 37)
HSLhsl(58, 59%, 36%)
HSVhsv(58, 74%, 57%)
CMYKcmyk(0%, 2.1%, 74.5%, 43.1%)
CIE-LABlab(57.56, -11.54, 52.76)
CIE-LCHlch(57.56, 54.01, 102.34°)
OKLaboklab(63.02% -0.0373 0.1163)
OKLCHoklch(63.02% 0.122 107.8)
XYZxyz(21.6848, 25.5000, 5.5296)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918E25 #252891
analogous
#915825 #918E25 #5E9125
triadic
#918E25 #25918E #8E2591
tetradic
#918E25 #259158 #252891 #91255E
square
#918E25 #259158 #252891 #91255E
split-complementary
#918E25 #255E91 #582591
monochromatic
#2F2E0C #605E19 #918E25 #C2BE31 #D5D25B

Accessibility & contrast

On white

3.44
#918E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#918E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918E25
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918E25#FFFFFF#000000##000000
##918E251.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #918e25;
/* rgb */ color: rgb(145, 142, 37);
/* oklch */ color: oklch(63.0% 0.122 107.8);
Tailwind
colors: {
  custom: {
    50: '#b5ae68',
    500: '#918e25',
    950: '#000000',
  },
}
SCSS
$custom: #918e25;
$custom-light: #b5ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#918e25",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 58.333,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63017,
    "c": 0.12217,
    "h": 107.8
  },
  "luminance": 0.25499
}

Semantic roles & 50–950 ramp

primary
#918E25
secondary
#585BBA
accent
#4AE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918E25

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

Preview Lab → · Contrast checker → · Palette generator →

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