#748118#748118
#748118 is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.3% C 0.123 H 116.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #748118 |
|---|---|
| RGB | rgb(116, 129, 24) |
| HSL | hsl(67, 69%, 30%) |
| HSV | hsv(67, 81%, 51%) |
| CMYK | cmyk(10.1%, 0%, 81.4%, 49.4%) |
| CIE-LAB | lab(51.24, -18.34, 50.45) |
| CIE-LCH | lch(51.24, 53.68, 109.98°) |
| OKLab | oklab(57.34% -0.0557 0.1101) |
| OKLCH | oklch(57.34% 0.123 116.8) |
| XYZ | xyz(15.2180, 19.4797, 3.8223) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.79
Swamp Green
#748500
ΔE00 2.21
Poop Green
#6F7C00
ΔE00 2.30
Murky Green
#6C7A0E
ΔE00 2.81
Olive Green
#677A04
ΔE00 3.51
Olive
#808000
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#748118 #251881
analogous
#815A18 #748118 #3F8118
triadic
#748118 #187481 #811874
tetradic
#748118 #18815A #251881 #81183F
square
#748118 #18815A #251881 #81183F
split-complementary
#748118 #183F81 #5A1881
monochromatic
#171A05 #464D0E #748118 #A2B522 #C6DA39
Accessibility & contrast
On white
4.29
#748118 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#748118 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #748118
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##748118 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##748118 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#7C796E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #748118; /* rgb */ color: rgb(116, 129, 24); /* oklch */ color: oklch(57.3% 0.123 116.8);
Tailwind
colors: {
custom: {
50: '#9fa55f',
500: '#748118',
950: '#000000',
},
}SCSS
$custom: #748118; $custom-light: #9fa55f; $custom-dark: #000000;
JSON
{
"hex": "#748118",
"rgb": {
"r": 116,
"g": 129,
"b": 24
},
"hsl": {
"h": 67.429,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.57342,
"c": 0.12338,
"h": 116.8
},
"luminance": 0.19479
}Semantic roles & 50–950 ramp
primary
#748118
secondary
#4E40B5
accent
#3CEB52
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79