#626E12#626E12
#626E12 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.1% C 0.111 H 117.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #626E12 |
|---|---|
| RGB | rgb(98, 110, 18) |
| HSL | hsl(68, 72%, 25%) |
| HSV | hsv(68, 84%, 43%) |
| CMYK | cmyk(10.9%, 0%, 83.6%, 56.9%) |
| CIE-LAB | lab(43.93, -16.74, 45.23) |
| CIE-LCH | lch(43.93, 48.23, 110.31°) |
| OKLab | oklab(51.1% -0.0508 0.0985) |
| OKLCH | oklch(51.1% 0.111 117.3) |
| XYZ | xyz(10.7224, 13.7923, 2.6695) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.76
Mud Green
#606602
ΔE00 3.24
Olive (survey)
#6E750E
ΔE00 3.63
Murky Green
#6C7A0E
ΔE00 4.66
Olive Green
#677A04
ΔE00 4.70
Browny Green
#6F6C0A
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#626E12 #1E126E
analogous
#6E4C12 #626E12 #346E12
triadic
#626E12 #12626E #6E1262
tetradic
#626E12 #126E4C #1E126E #6E1234
square
#626E12 #126E4C #1E126E #6E1234
split-complementary
#626E12 #12346E #4C126E
monochromatic
#171A04 #333909 #626E12 #91A31B #C0D723
Accessibility & contrast
On white
5.59
#626E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#626E12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #626E12
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##626E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##626E12 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#75681B
Tritanopia (blue-blind)
#69675D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #626e12; /* rgb */ color: rgb(98, 110, 18); /* oklch */ color: oklch(51.1% 0.111 117.3);
Tailwind
colors: {
custom: {
50: '#92975a',
500: '#626e12',
950: '#000000',
},
}SCSS
$custom: #626e12; $custom-light: #92975a; $custom-dark: #000000;
JSON
{
"hex": "#626e12",
"rgb": {
"r": 98,
"g": 110,
"b": 18
},
"hsl": {
"h": 67.826,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.51096,
"c": 0.11085,
"h": 117.3
},
"luminance": 0.13792
}Semantic roles & 50–950 ramp
primary
#626E12
secondary
#4537A5
accent
#39EF51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79