#B2B45F#B2B45F
#B2B45F is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.109 H 109.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B45F |
|---|---|
| RGB | rgb(178, 180, 95) |
| HSL | hsl(61, 36%, 54%) |
| HSV | hsv(61, 47%, 71%) |
| CMYK | cmyk(1.1%, 0%, 47.2%, 29.4%) |
| CIE-LAB | lab(71.51, -12.95, 42.82) |
| CIE-LCH | lch(71.51, 44.73, 106.83°) |
| OKLab | oklab(74.99% -0.037 0.102) |
| OKLCH | oklch(74.99% 0.109 109.9) |
| XYZ | xyz(36.7476, 42.9345, 17.1756) |
| Luminance | 0.4293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.95
Khaki (survey)
#AAA662
ΔE00 4.75
Light Olive
#ACBF69
ΔE00 4.87
Tan Green
#A9BE70
ΔE00 5.69
Light Olive Green
#A4BE5C
ΔE00 5.94
Greenish Tan
#BCCB7A
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B45F #615FB4
analogous
#B48C5F #B2B45F #88B45F
triadic
#B2B45F #5FB2B4 #B45FB2
tetradic
#B2B45F #5FB48C #615FB4 #B45F88
square
#B2B45F #5FB48C #615FB4 #B45F88
split-complementary
#B2B45F #5F88B4 #8C5FB4
monochromatic
#676831 #909244 #B2B45F #C6C889 #DADBB2
Accessibility & contrast
On white
2.19
#B2B45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#B2B45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B45F
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B45F | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AE58
Deuteranopia (green-blind)
#C1B163
Tritanopia (blue-blind)
#BCABA0
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b45f; /* rgb */ color: rgb(178, 180, 95); /* oklch */ color: oklch(75.0% 0.109 109.9);
Tailwind
colors: {
custom: {
50: '#cbca8e',
500: '#b2b45f',
950: '#000000',
},
}SCSS
$custom: #b2b45f; $custom-light: #cbca8e; $custom-dark: #000000;
JSON
{
"hex": "#b2b45f",
"rgb": {
"r": 178,
"g": 180,
"b": 95
},
"hsl": {
"h": 61.412,
"s": 36.17,
"l": 53.922
},
"oklch": {
"l": 0.74989,
"c": 0.10854,
"h": 109.9
},
"luminance": 0.42934
}Semantic roles & 50–950 ramp
primary
#B2B45F
secondary
#A6A5CA
accent
#5CCC5E
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130C
muted
#82827D