#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 |
|---|---|
| RGB | rgb(145, 142, 37) |
| HSL | hsl(58, 59%, 36%) |
| HSV | hsv(58, 74%, 57%) |
| CMYK | cmyk(0%, 2.1%, 74.5%, 43.1%) |
| CIE-LAB | lab(57.56, -11.54, 52.76) |
| CIE-LCH | lch(57.56, 54.01, 102.34°) |
| OKLab | oklab(63.02% -0.0373 0.1163) |
| OKLCH | oklch(63.02% 0.122 107.8) |
| XYZ | xyz(21.6848, 25.5000, 5.5296) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.63
Pea Soup
#929901
ΔE00 4.76
Baby Shit Green
#889717
ΔE00 5.10
Olive
#808000
ΔE00 5.55
Swamp Green
#748500
ΔE00 7.03
Shit Green
#758000
ΔE00 7.25
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 |
|---|---|---|---|---|
| ##918E25 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.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