#626C1F#626C1F
#626C1F is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.100 H 116.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #626C1F |
|---|---|
| RGB | rgb(98, 108, 31) |
| HSL | hsl(68, 55%, 27%) |
| HSV | hsv(68, 71%, 42%) |
| CMYK | cmyk(9.3%, 0%, 71.3%, 57.6%) |
| CIE-LAB | lab(43.39, -14.97, 39.88) |
| CIE-LCH | lch(43.39, 42.60, 110.57°) |
| OKLab | oklab(50.69% -0.0446 0.0896) |
| OKLCH | oklch(50.69% 0.1 116.5) |
| XYZ | xyz(10.6471, 13.4209, 3.3257) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mud Green
#606602
ΔE00 3.58
Brownish Green
#6A6E09
ΔE00 3.78
Muddy Green
#657432
ΔE00 3.95
Olive Drab
#6F7632
ΔE00 4.42
Olive (survey)
#6E750E
ΔE00 4.90
Camo Green
#526525
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#626C1F #291F6C
analogous
#6C501F #626C1F #3C6C1F
triadic
#626C1F #1F626C #6C1F62
tetradic
#626C1F #1F6C50 #291F6C #6C1F3C
square
#626C1F #1F6C50 #291F6C #6C1F3C
split-complementary
#626C1F #1F3C6C #501F6C
monochromatic
#161807 #373C11 #626C1F #8D9C2D #B6C83E
Accessibility & contrast
On white
5.70
#626C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#626C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #626C1F
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##626C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##626C1F | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#68665D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #626c1f; /* rgb */ color: rgb(98, 108, 31); /* oklch */ color: oklch(50.7% 0.100 116.5);
Tailwind
colors: {
custom: {
50: '#919660',
500: '#626c1f',
950: '#000000',
},
}SCSS
$custom: #626c1f; $custom-light: #919660; $custom-dark: #000000;
JSON
{
"hex": "#626c1f",
"rgb": {
"r": 98,
"g": 108,
"b": 31
},
"hsl": {
"h": 67.792,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.50685,
"c": 0.10014,
"h": 116.5
},
"luminance": 0.13421
}Semantic roles & 50–950 ramp
primary
#626C1F
secondary
#5247A0
accent
#49DF5D
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79