#747F1F#747F1F
#747F1F is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.117 H 116.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #747F1F |
|---|---|
| RGB | rgb(116, 127, 31) |
| HSL | hsl(67, 61%, 31%) |
| HSV | hsv(67, 76%, 50%) |
| CMYK | cmyk(8.7%, 0%, 75.6%, 50.2%) |
| CIE-LAB | lab(50.68, -16.96, 47.55) |
| CIE-LCH | lch(50.68, 50.48, 109.63°) |
| OKLab | oklab(56.9% -0.0513 0.1052) |
| OKLCH | oklch(56.9% 0.117 116) |
| XYZ | xyz(15.0395, 18.9909, 4.1694) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poop Green
#6F7C00
ΔE00 2.46
Murky Green
#6C7A0E
ΔE00 2.48
Shit Green
#758000
ΔE00 2.50
Swamp Green
#748500
ΔE00 3.34
Olive Green
#677A04
ΔE00 3.42
Olive (survey)
#6E750E
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#747F1F #2A1F7F
analogous
#7F5A1F #747F1F #447F1F
triadic
#747F1F #1F747F #7F1F74
tetradic
#747F1F #1F7F5A #2A1F7F #7F1F44
square
#747F1F #1F7F5A #2A1F7F #7F1F44
split-complementary
#747F1F #1F447F #5A1F7F
monochromatic
#1A1D07 #474E13 #747F1F #A1B02B #C2D246
Accessibility & contrast
On white
4.38
#747F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#747F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #747F1F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##747F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##747F1F | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#7C776D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #747f1f; /* rgb */ color: rgb(116, 127, 31); /* oklch */ color: oklch(56.9% 0.117 116.0);
Tailwind
colors: {
custom: {
50: '#9fa462',
500: '#747f1f',
950: '#000000',
},
}SCSS
$custom: #747f1f; $custom-light: #9fa462; $custom-dark: #000000;
JSON
{
"hex": "#747f1f",
"rgb": {
"r": 116,
"g": 127,
"b": 31
},
"hsl": {
"h": 66.875,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.56899,
"c": 0.11707,
"h": 116
},
"luminance": 0.18991
}Semantic roles & 50–950 ramp
primary
#747F1F
secondary
#5448B2
accent
#44E456
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F05
muted
#7F7F7A