#768A2F#768A2F
#768A2F is a mid, moderate yellow-green. Relative luminance 0.222; OKLCH L 59.9% C 0.118 H 120.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #768A2F |
|---|---|
| RGB | rgb(118, 138, 47) |
| HSL | hsl(73, 49%, 36%) |
| HSV | hsv(73, 66%, 54%) |
| CMYK | cmyk(14.5%, 0%, 65.9%, 45.9%) |
| CIE-LAB | lab(54.27, -20.79, 44.71) |
| CIE-LCH | lch(54.27, 49.31, 114.94°) |
| OKLab | oklab(59.87% -0.0605 0.1019) |
| OKLCH | oklch(59.87% 0.118 120.7) |
| XYZ | xyz(17.0730, 22.2338, 6.0809) |
| Luminance | 0.2223 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Khaki Green
#728639
ΔE00 2.63
Olivedrab
#6B8E23
ΔE00 3.32
Mossy Green
#638B27
ΔE00 4.31
Dark Yellow Green
#728F02
ΔE00 4.33
Swamp Green
#748500
ΔE00 4.42
Swamp
#698339
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#768A2F #432F8A
analogous
#8A712F #768A2F #498A2F
triadic
#768A2F #2F768A #8A2F76
tetradic
#768A2F #2F8A71 #432F8A #8A2F49
square
#768A2F #2F8A71 #432F8A #8A2F49
split-complementary
#768A2F #2F498A #712F8A
monochromatic
#282F10 #4F5C1F #768A2F #9DB83F #B6CC68
Accessibility & contrast
On white
3.86
#768A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#768A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #768A2F
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##768A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##768A2F | 1.00 | 3.86 | 5.45 | 5.45 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#7C8377
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #768a2f; /* rgb */ color: rgb(118, 138, 47); /* oklch */ color: oklch(59.9% 0.118 120.7);
Tailwind
colors: {
custom: {
50: '#a0ac6c',
500: '#768a2f',
950: '#000000',
},
}SCSS
$custom: #768a2f; $custom-light: #a0ac6c; $custom-dark: #000000;
JSON
{
"hex": "#768a2f",
"rgb": {
"r": 118,
"g": 138,
"b": 47
},
"hsl": {
"h": 73.187,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.59868,
"c": 0.11846,
"h": 120.7
},
"luminance": 0.22234
}Semantic roles & 50–950 ramp
primary
#768A2F
secondary
#7462B3
accent
#4FD96D
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F1007
muted
#7F7F7A