#B3B840#B3B840
#B3B840 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.6% C 0.141 H 111.6°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B3B840 |
|---|---|
| RGB | rgb(179, 184, 64) |
| HSL | hsl(63, 48%, 49%) |
| HSV | hsv(63, 65%, 72%) |
| CMYK | cmyk(2.7%, 0%, 65.2%, 27.8%) |
| CIE-LAB | lab(72.39, -17.02, 57.97) |
| CIE-LCH | lch(72.39, 60.42, 106.36°) |
| OKLab | oklab(75.61% -0.0519 0.1309) |
| OKLCH | oklch(75.61% 0.141 111.6) |
| XYZ | xyz(36.6574, 44.2357, 11.4568) |
| Luminance | 0.4424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.89
Snot
#ACBB0D
ΔE00 3.90
Bile
#B5C306
ΔE00 5.02
Pea
#A4BF20
ΔE00 5.09
Sick Green
#9DB92C
ΔE00 5.10
Baby Puke Green
#B6C406
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3B840 #4540B8
analogous
#B88140 #B3B840 #77B840
triadic
#B3B840 #40B3B8 #B840B3
tetradic
#B3B840 #40B881 #4540B8 #B84077
square
#B3B840 #40B881 #4540B8 #B84077
split-complementary
#B3B840 #4077B8 #8140B8
monochromatic
#5B5D20 #878B30 #B3B840 #C7CB6A #D8DB97
Accessibility & contrast
On white
2.13
#B3B840 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#B3B840 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3B840
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3B840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3B840 | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B030
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#BFAD9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b3b840; /* rgb */ color: rgb(179, 184, 64); /* oklch */ color: oklch(75.6% 0.141 111.6);
Tailwind
colors: {
custom: {
50: '#cdcd7b',
500: '#b3b840',
950: '#000000',
},
}SCSS
$custom: #b3b840; $custom-light: #cdcd7b; $custom-dark: #000000;
JSON
{
"hex": "#b3b840",
"rgb": {
"r": 179,
"g": 184,
"b": 64
},
"hsl": {
"h": 62.5,
"s": 48.387,
"l": 48.627
},
"oklch": {
"l": 0.75608,
"c": 0.1408,
"h": 111.6
},
"luminance": 0.44235
}Semantic roles & 50–950 ramp
primary
#B3B840
secondary
#8F8DC7
accent
#50D856
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C