#AFBE25#AFBE25
#AFBE25 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.5% C 0.164 H 115.5°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBE25 |
|---|---|
| RGB | rgb(175, 190, 37) |
| HSL | hsl(66, 67%, 45%) |
| HSV | hsv(66, 81%, 75%) |
| CMYK | cmyk(7.9%, 0%, 80.5%, 25.5%) |
| CIE-LAB | lab(73.59, -22.99, 68.25) |
| CIE-LCH | lch(73.59, 72.02, 108.62°) |
| OKLab | oklab(76.45% -0.0707 0.1482) |
| OKLCH | oklch(76.45% 0.164 115.5) |
| XYZ | xyz(36.4277, 46.0751, 8.7243) |
| Luminance | 0.4607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.27
Bile
#B5C306
ΔE00 2.20
Baby Puke Green
#B6C406
ΔE00 2.41
Pea
#A4BF20
ΔE00 2.48
Mustard Green
#A8B504
ΔE00 2.61
Gross Green
#A0BF16
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBE25 #3425BE
analogous
#BE8025 #AFBE25 #63BE25
triadic
#AFBE25 #25AFBE #BE25AF
tetradic
#AFBE25 #25BE80 #3425BE #BE2563
square
#AFBE25 #25BE80 #3425BE #BE2563
split-complementary
#AFBE25 #2563BE #8025BE
monochromatic
#515811 #808B1B #AFBE25 #CCDB45 #DAE579
Accessibility & contrast
On white
2.06
#AFBE25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#AFBE25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBE25
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBE25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBE25 | 1.00 | 2.06 | 10.21 | 10.21 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CBB635
Tritanopia (blue-blind)
#BBB3A2
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #afbe25; /* rgb */ color: rgb(175, 190, 37); /* oklch */ color: oklch(76.5% 0.164 115.5);
Tailwind
colors: {
custom: {
50: '#cbd16f',
500: '#afbe25',
950: '#000000',
},
}SCSS
$custom: #afbe25; $custom-light: #cbd16f; $custom-dark: #000000;
JSON
{
"hex": "#afbe25",
"rgb": {
"r": 175,
"g": 190,
"b": 37
},
"hsl": {
"h": 65.882,
"s": 67.401,
"l": 44.51
},
"oklch": {
"l": 0.76451,
"c": 0.16417,
"h": 115.5
},
"luminance": 0.46074
}Semantic roles & 50–950 ramp
primary
#AFBE25
secondary
#7B72CD
accent
#3EEA4E
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B