#B7CA38#B7CA38
#B7CA38 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.165 H 116.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CA38 |
|---|---|
| RGB | rgb(183, 202, 56) |
| HSL | hsl(68, 58%, 51%) |
| HSV | hsv(68, 72%, 79%) |
| CMYK | cmyk(9.4%, 0%, 72.3%, 20.8%) |
| CIE-LAB | lab(77.63, -24.69, 66.32) |
| CIE-LCH | lch(77.63, 70.77, 110.42°) |
| OKLab | oklab(79.87% -0.0743 0.1471) |
| OKLCH | oklch(79.87% 0.165 116.8) |
| XYZ | xyz(41.3638, 52.5944, 11.7133) |
| Luminance | 0.5259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.72
Baby Puke Green
#B6C406
ΔE00 3.12
Bile
#B5C306
ΔE00 3.19
Pea
#A4BF20
ΔE00 3.64
Gross Green
#A0BF16
ΔE00 4.19
Snot
#ACBB0D
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CA38 #4B38CA
analogous
#CA9438 #B7CA38 #6ECA38
triadic
#B7CA38 #38B7CA #CA38B7
tetradic
#B7CA38 #38CA94 #4B38CA #CA386E
square
#B7CA38 #38CA94 #4B38CA #CA386E
split-complementary
#B7CA38 #386ECA #9438CA
monochromatic
#616B1D #8D9B29 #B7CA38 #C8D768 #DAE499
Accessibility & contrast
On white
1.82
#B7CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#B7CA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CA38
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CA38 | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#C2BFAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b7ca38; /* rgb */ color: rgb(183, 202, 56); /* oklch */ color: oklch(79.9% 0.165 116.8);
Tailwind
colors: {
custom: {
50: '#d0da79',
500: '#b7ca38',
950: '#000000',
},
}SCSS
$custom: #b7ca38; $custom-light: #d0da79; $custom-dark: #000000;
JSON
{
"hex": "#b7ca38",
"rgb": {
"r": 183,
"g": 202,
"b": 56
},
"hsl": {
"h": 67.808,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.79874,
"c": 0.16476,
"h": 116.8
},
"luminance": 0.52594
}Semantic roles & 50–950 ramp
primary
#B7CA38
secondary
#3A3175
accent
#47E15B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D