#798239#798239
#798239 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.3% C 0.098 H 115.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #798239 |
|---|---|
| RGB | rgb(121, 130, 57) |
| HSL | hsl(67, 39%, 37%) |
| HSV | hsv(67, 56%, 51%) |
| CMYK | cmyk(6.9%, 0%, 56.2%, 49%) |
| CIE-LAB | lab(52.20, -14.46, 37.78) |
| CIE-LCH | lch(52.20, 40.46, 110.94°) |
| OKLab | oklab(58.29% -0.0418 0.0884) |
| OKLCH | oklch(58.29% 0.098 115.3) |
| XYZ | xyz(16.6066, 20.3258, 6.9186) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 3.00
Drab
#828344
ΔE00 3.02
Olive Drab
#6F7632
ΔE00 4.59
Swamp
#698339
ΔE00 4.60
Dirty Green
#667E2C
ΔE00 4.75
Camo
#7F8F4E
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798239 #423982
analogous
#826739 #798239 #558239
triadic
#798239 #397982 #823979
tetradic
#798239 #398267 #423982 #823955
square
#798239 #398267 #423982 #823955
split-complementary
#798239 #395582 #673982
monochromatic
#2A2D14 #515726 #798239 #A1AD4C #B8C274
Accessibility & contrast
On white
4.15
#798239 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#798239 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798239
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798239 | 1.00 | 4.15 | 5.07 | 5.07 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7C32
Deuteranopia (green-blind)
#8A7D3D
Tritanopia (blue-blind)
#807B72
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #798239; /* rgb */ color: rgb(121, 130, 57); /* oklch */ color: oklch(58.3% 0.098 115.3);
Tailwind
colors: {
custom: {
50: '#a1a672',
500: '#798239',
950: '#000000',
},
}SCSS
$custom: #798239; $custom-light: #a1a672; $custom-dark: #000000;
JSON
{
"hex": "#798239",
"rgb": {
"r": 121,
"g": 130,
"b": 57
},
"hsl": {
"h": 67.397,
"s": 39.037,
"l": 36.667
},
"oklch": {
"l": 0.58295,
"c": 0.09777,
"h": 115.3
},
"luminance": 0.20326
}Semantic roles & 50–950 ramp
primary
#798239
secondary
#746CAB
accent
#59CF67
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B