#786F19#786F19
#786F19 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.4% C 0.103 H 103.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #786F19 |
|---|---|
| RGB | rgb(120, 111, 25) |
| HSL | hsl(54, 66%, 28%) |
| HSV | hsv(54, 79%, 47%) |
| CMYK | cmyk(0%, 7.5%, 79.2%, 52.9%) |
| CIE-LAB | lab(46.22, -6.64, 45.68) |
| CIE-LCH | lch(46.22, 46.16, 98.27°) |
| OKLab | oklab(53.41% -0.0233 0.0999) |
| OKLCH | oklch(53.41% 0.103 103.1) |
| XYZ | xyz(13.6063, 15.4327, 3.1816) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 2.24
Ugly Brown
#7D7103
ΔE00 2.49
Browny Green
#6F6C0A
ΔE00 2.64
Brownish Green
#6A6E09
ΔE00 4.37
Olive (survey)
#6E750E
ΔE00 5.13
Greenish Brown
#696112
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#786F19 #192278
analogous
#783F19 #786F19 #517819
triadic
#786F19 #19786F #6F1978
tetradic
#786F19 #19783F #192278 #781951
square
#786F19 #19783F #192278 #781951
split-complementary
#786F19 #195178 #3F1978
monochromatic
#191705 #45400E #786F19 #AB9E24 #D5C636
Accessibility & contrast
On white
5.14
#786F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#786F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #786F19
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##786F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##786F19 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B06
Deuteranopia (green-blind)
#7D6F1F
Tritanopia (blue-blind)
#82675F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #786f19; /* rgb */ color: rgb(120, 111, 25); /* oklch */ color: oklch(53.4% 0.103 103.1);
Tailwind
colors: {
custom: {
50: '#a2985d',
500: '#786f19',
950: '#000000',
},
}SCSS
$custom: #786f19; $custom-light: #a2985d; $custom-dark: #000000;
JSON
{
"hex": "#786f19",
"rgb": {
"r": 120,
"g": 111,
"b": 25
},
"hsl": {
"h": 54.316,
"s": 65.517,
"l": 28.431
},
"oklch": {
"l": 0.53412,
"c": 0.10262,
"h": 103.1
},
"luminance": 0.15432
}Semantic roles & 50–950 ramp
primary
#786F19
secondary
#404AAD
accent
#4FE83F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79