#B2B148#B2B148
#B2B148 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.127 H 108.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B148 |
|---|---|
| RGB | rgb(178, 177, 72) |
| HSL | hsl(59, 42%, 49%) |
| HSV | hsv(59, 60%, 70%) |
| CMYK | cmyk(0%, 0.6%, 59.6%, 30.2%) |
| CIE-LAB | lab(70.44, -13.34, 52.46) |
| CIE-LCH | lch(70.44, 54.13, 104.27°) |
| OKLab | oklab(74.06% -0.0406 0.1204) |
| OKLCH | oklch(74.06% 0.127 108.6) |
| XYZ | xyz(35.2530, 41.3781, 12.2594) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.04
Vomit
#A2A415
ΔE00 5.35
Mustard Green
#A8B504
ΔE00 5.62
Puke
#A5A502
ΔE00 5.64
Snot
#ACBB0D
ΔE00 6.16
Khaki (survey)
#AAA662
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B148 #4849B2
analogous
#B27C48 #B2B148 #7EB248
triadic
#B2B148 #48B2B1 #B148B2
tetradic
#B2B148 #48B27C #4849B2 #B2487E
square
#B2B148 #48B27C #4849B2 #B2487E
split-complementary
#B2B148 #487EB2 #7C48B2
monochromatic
#5B5A25 #868636 #B2B148 #C6C571 #D7D79D
Accessibility & contrast
On white
2.26
#B2B148 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#B2B148 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B148
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B148 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B148 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#C0AE4E
Tritanopia (blue-blind)
#BEA79B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b2b148; /* rgb */ color: rgb(178, 177, 72); /* oklch */ color: oklch(74.1% 0.127 108.6);
Tailwind
colors: {
custom: {
50: '#ccc87f',
500: '#b2b148',
950: '#000000',
},
}SCSS
$custom: #b2b148; $custom-light: #ccc87f; $custom-dark: #000000;
JSON
{
"hex": "#b2b148",
"rgb": {
"r": 178,
"g": 177,
"b": 72
},
"hsl": {
"h": 59.434,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.74056,
"c": 0.12708,
"h": 108.6
},
"luminance": 0.41377
}Semantic roles & 50–950 ramp
primary
#B2B148
secondary
#9292C4
accent
#57D256
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C