#B2B74E#B2B74E
#B2B74E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.129 H 111.6°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B74E |
|---|---|
| RGB | rgb(178, 183, 78) |
| HSL | hsl(63, 42%, 51%) |
| HSV | hsv(63, 57%, 72%) |
| CMYK | cmyk(2.7%, 0%, 57.4%, 28.2%) |
| CIE-LAB | lab(72.15, -15.96, 51.65) |
| CIE-LCH | lch(72.15, 54.07, 107.17°) |
| OKLab | oklab(75.44% -0.0474 0.1195) |
| OKLCH | oklch(75.44% 0.129 111.6) |
| XYZ | xyz(36.6696, 43.8828, 13.7448) |
| Luminance | 0.4388 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 5.10
Darkkhaki
#BDB76B
ΔE00 5.11
Light Olive
#ACBF69
ΔE00 5.41
Mustard Green
#A8B504
ΔE00 5.46
Snot
#ACBB0D
ΔE00 5.55
Light Olive Green
#A4BE5C
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B74E #534EB7
analogous
#B7874E #B2B74E #7DB74E
triadic
#B2B74E #4EB2B7 #B74EB2
tetradic
#B2B74E #4EB787 #534EB7 #B74E7D
square
#B2B74E #4EB787 #534EB7 #B74E7D
split-complementary
#B2B74E #4E7DB7 #874EB7
monochromatic
#606328 #8A8E3A #B2B74E #C5C97A #D8DAA5
Accessibility & contrast
On white
2.15
#B2B74E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#B2B74E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B74E
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B74E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B74E | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF43
Deuteranopia (green-blind)
#C4B254
Tritanopia (blue-blind)
#BDADA0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b74e; /* rgb */ color: rgb(178, 183, 78); /* oklch */ color: oklch(75.4% 0.129 111.6);
Tailwind
colors: {
custom: {
50: '#cbcc83',
500: '#b2b74e',
950: '#000000',
},
}SCSS
$custom: #b2b74e; $custom-light: #cbcc83; $custom-dark: #000000;
JSON
{
"hex": "#b2b74e",
"rgb": {
"r": 178,
"g": 183,
"b": 78
},
"hsl": {
"h": 62.857,
"s": 42.169,
"l": 51.176
},
"oklch": {
"l": 0.75439,
"c": 0.12851,
"h": 111.6
},
"luminance": 0.43882
}Semantic roles & 50–950 ramp
primary
#B2B74E
secondary
#9B99C8
accent
#56D25C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C