#ADC228#ADC228
#ADC228 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.2% C 0.168 H 117.6°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #ADC228 |
|---|---|
| RGB | rgb(173, 194, 40) |
| HSL | hsl(68, 66%, 46%) |
| HSV | hsv(68, 79%, 76%) |
| CMYK | cmyk(10.8%, 0%, 79.4%, 23.9%) |
| CIE-LAB | lab(74.59, -25.67, 68.25) |
| CIE-LCH | lch(74.59, 72.92, 110.61°) |
| OKLab | oklab(77.22% -0.0777 0.1488) |
| OKLCH | oklch(77.22% 0.168 117.6) |
| XYZ | xyz(36.9093, 47.6214, 9.2545) |
| Luminance | 0.4762 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.61
Gross Green
#A0BF16
ΔE00 2.30
Snot
#ACBB0D
ΔE00 2.42
Bile
#B5C306
ΔE00 2.61
Baby Puke Green
#B6C406
ΔE00 2.73
Snot Green
#9DC100
ΔE00 2.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ADC228 #3D28C2
analogous
#C28A28 #ADC228 #60C228
triadic
#ADC228 #28ADC2 #C228AD
tetradic
#ADC228 #28C28A #3D28C2 #C22860
square
#ADC228 #28C28A #3D28C2 #C22860
split-complementary
#ADC228 #2860C2 #8A28C2
monochromatic
#535D13 #808F1E #ADC228 #C7DA4D #D7E580
Accessibility & contrast
On white
2.00
#ADC228 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#ADC228 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ADC228
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ADC228 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ADC228 | 1.00 | 2.00 | 10.52 | 10.52 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CDB837
Tritanopia (blue-blind)
#B8B7A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #adc228; /* rgb */ color: rgb(173, 194, 40); /* oklch */ color: oklch(77.2% 0.168 117.6);
Tailwind
colors: {
custom: {
50: '#c9d470',
500: '#adc228',
950: '#000000',
},
}SCSS
$custom: #adc228; $custom-light: #c9d470; $custom-dark: #000000;
JSON
{
"hex": "#adc228",
"rgb": {
"r": 173,
"g": 194,
"b": 40
},
"hsl": {
"h": 68.182,
"s": 65.812,
"l": 45.882
},
"oklch": {
"l": 0.77215,
"c": 0.16784,
"h": 117.6
},
"luminance": 0.47621
}Semantic roles & 50–950 ramp
primary
#ADC228
secondary
#8478CD
accent
#3FE956
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B