#B2B248#B2B248
#B2B248 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.128 H 109.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B248 |
|---|---|
| RGB | rgb(178, 178, 72) |
| HSL | hsl(60, 42%, 49%) |
| HSV | hsv(60, 60%, 70%) |
| CMYK | cmyk(0%, 0%, 59.6%, 30.2%) |
| CIE-LAB | lab(70.72, -13.86, 52.76) |
| CIE-LCH | lch(70.72, 54.55, 104.72°) |
| OKLab | oklab(74.28% -0.042 0.1211) |
| OKLCH | oklch(74.28% 0.128 109.2) |
| XYZ | xyz(35.4512, 41.7746, 12.3255) |
| Luminance | 0.4177 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.11
Mustard Green
#A8B504
ΔE00 5.42
Vomit
#A2A415
ΔE00 5.46
Puke
#A5A502
ΔE00 5.75
Snot
#ACBB0D
ΔE00 5.90
Booger
#9BB53C
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B248 #4848B2
analogous
#B27D48 #B2B248 #7DB248
triadic
#B2B248 #48B2B2 #B248B2
tetradic
#B2B248 #48B27D #4848B2 #B2487D
square
#B2B248 #48B27D #4848B2 #B2487D
split-complementary
#B2B248 #487DB2 #7D48B2
monochromatic
#5B5B25 #868636 #B2B248 #C6C671 #D7D79D
Accessibility & contrast
On white
2.24
#B2B248 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#B2B248 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B248
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B248 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B248 | 1.00 | 2.24 | 9.35 | 9.35 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB3C
Deuteranopia (green-blind)
#C1AF4E
Tritanopia (blue-blind)
#BEA89B
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b2b248; /* rgb */ color: rgb(178, 178, 72); /* oklch */ color: oklch(74.3% 0.128 109.2);
Tailwind
colors: {
custom: {
50: '#ccc87f',
500: '#b2b248',
950: '#000000',
},
}SCSS
$custom: #b2b248; $custom-light: #ccc87f; $custom-dark: #000000;
JSON
{
"hex": "#b2b248",
"rgb": {
"r": 178,
"g": 178,
"b": 72
},
"hsl": {
"h": 60,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.74276,
"c": 0.12816,
"h": 109.2
},
"luminance": 0.41774
}Semantic roles & 50–950 ramp
primary
#B2B248
secondary
#9292C4
accent
#56D256
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C