#306F23#306F23
#306F23 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.127 H 140.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #306F23 |
|---|---|
| RGB | rgb(48, 111, 35) |
| HSL | hsl(110, 52%, 29%) |
| HSV | hsv(110, 68%, 44%) |
| CMYK | cmyk(56.8%, 0%, 68.5%, 56.5%) |
| CIE-LAB | lab(41.40, -35.80, 35.08) |
| CIE-LCH | lch(41.40, 50.13, 135.58°) |
| OKLab | oklab(48.29% -0.0981 0.081) |
| OKLCH | oklch(48.29% 0.127 140.4) |
| XYZ | xyz(7.2064, 12.1180, 3.5490) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.29
Darkgreen
#006400
ΔE00 5.36
Tree Green
#2A7E19
ΔE00 5.72
Green
#008000
ΔE00 7.34
Darkolivegreen
#556B2F
ΔE00 7.55
Dark Grass Green
#388004
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F23 #62236F
analogous
#566F23 #306F23 #236F3C
triadic
#306F23 #23306F #6F2330
tetradic
#306F23 #23566F #62236F #6F3C23
square
#306F23 #23566F #62236F #6F3C23
split-complementary
#306F23 #3C236F #6F2356
monochromatic
#0A1707 #1C4014 #306F23 #449E32 #5DC547
Accessibility & contrast
On white
6.13
#306F23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#306F23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F23
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F23 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726519
Deuteranopia (green-blind)
#6A602A
Tritanopia (blue-blind)
#296B5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #306f23; /* rgb */ color: rgb(48, 111, 35); /* oklch */ color: oklch(48.3% 0.127 140.4);
Tailwind
colors: {
custom: {
50: '#6f9962',
500: '#306f23',
950: '#000000',
},
}SCSS
$custom: #306f23; $custom-light: #6f9962; $custom-dark: #000000;
JSON
{
"hex": "#306f23",
"rgb": {
"r": 48,
"g": 111,
"b": 35
},
"hsl": {
"h": 109.737,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.4829,
"c": 0.12721,
"h": 140.4
},
"luminance": 0.12119
}Semantic roles & 50–950 ramp
primary
#306F23
secondary
#934CA2
accent
#4CDBC3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79