#B7B72D#B7B72D
#B7B72D is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.151 H 109.5°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B7B72D |
|---|---|
| RGB | rgb(183, 183, 45) |
| HSL | hsl(60, 61%, 45%) |
| HSV | hsv(60, 75%, 72%) |
| CMYK | cmyk(0%, 0%, 75.4%, 28.2%) |
| CIE-LAB | lab(72.31, -15.78, 64.97) |
| CIE-LCH | lch(72.31, 66.86, 103.65°) |
| OKLab | oklab(75.59% -0.0505 0.1423) |
| OKLCH | oklch(75.59% 0.151 109.5) |
| XYZ | xyz(36.9370, 44.1248, 9.0534) |
| Luminance | 0.4412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Yellow
#C2BE0E
ΔE00 3.29
Mustard Green
#A8B504
ΔE00 3.40
Snot
#ACBB0D
ΔE00 3.57
Olive Yellow
#C2B709
ΔE00 3.68
Vomit Yellow
#C7C10C
ΔE00 4.24
Bile
#B5C306
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7B72D #2D2DB7
analogous
#B7722D #B7B72D #72B72D
triadic
#B7B72D #2DB7B7 #B72DB7
tetradic
#B7B72D #2DB772 #2D2DB7 #B72D72
square
#B7B72D #2DB772 #2D2DB7 #B72D72
split-complementary
#B7B72D #2D72B7 #722DB7
monochromatic
#555515 #868621 #B7B72D #D3D34E #DFDF7F
Accessibility & contrast
On white
2.14
#B7B72D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#B7B72D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7B72D
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7B72D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7B72D | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF0A
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#C4AB9D
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b7b72d; /* rgb */ color: rgb(183, 183, 45); /* oklch */ color: oklch(75.6% 0.151 109.5);
Tailwind
colors: {
custom: {
50: '#d0cc71',
500: '#b7b72d',
950: '#000000',
},
}SCSS
$custom: #b7b72d; $custom-light: #d0cc71; $custom-dark: #000000;
JSON
{
"hex": "#b7b72d",
"rgb": {
"r": 183,
"g": 183,
"b": 45
},
"hsl": {
"h": 60,
"s": 60.526,
"l": 44.706
},
"oklch": {
"l": 0.7559,
"c": 0.15097,
"h": 109.5
},
"luminance": 0.44124
}Semantic roles & 50–950 ramp
primary
#B7B72D
secondary
#7878C8
accent
#44E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B