#CBAF43#CBAF43
#CBAF43 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.129 H 94.5°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAF43 |
|---|---|
| RGB | rgb(203, 175, 67) |
| HSL | hsl(48, 57%, 53%) |
| HSV | hsv(48, 67%, 80%) |
| CMYK | cmyk(0%, 13.8%, 67%, 20.4%) |
| CIE-LAB | lab(72.07, -1.90, 57.04) |
| CIE-LCH | lch(72.07, 57.07, 91.91°) |
| OKLab | oklab(75.86% -0.0101 0.1287) |
| OKLCH | oklch(75.86% 0.129 94.5) |
| XYZ | xyz(40.9737, 43.7639, 11.5982) |
| Luminance | 0.4376 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.20
Brownish Yellow
#C9B003
ΔE00 4.54
Mustard (survey)
#CEB301
ΔE00 4.78
Desert
#CCAD60
ΔE00 4.85
Dark Yellow
#D5B60A
ΔE00 5.01
Muddy Yellow
#BFAC05
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAF43 #435FCB
analogous
#CB6B43 #CBAF43 #A3CB43
triadic
#CBAF43 #43CBAF #AF43CB
tetradic
#CBAF43 #43CB6B #435FCB #CB43A3
square
#CBAF43 #43CB6B #435FCB #CB43A3
split-complementary
#CBAF43 #43A3CB #6B43CB
monochromatic
#746220 #A48B2D #CBAF43 #D8C373 #E6D8A3
Accessibility & contrast
On white
2.15
#CBAF43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#CBAF43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAF43
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAF43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAF43 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC35
Deuteranopia (green-blind)
#C8B449
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cbaf43; /* rgb */ color: rgb(203, 175, 67); /* oklch */ color: oklch(75.9% 0.129 94.5);
Tailwind
colors: {
custom: {
50: '#dec67c',
500: '#cbaf43',
950: '#000000',
},
}SCSS
$custom: #cbaf43; $custom-light: #dec67c; $custom-dark: #000000;
JSON
{
"hex": "#cbaf43",
"rgb": {
"r": 203,
"g": 175,
"b": 67
},
"hsl": {
"h": 47.647,
"s": 56.667,
"l": 52.941
},
"oklch": {
"l": 0.75864,
"c": 0.1291,
"h": 94.5
},
"luminance": 0.43762
}Semantic roles & 50–950 ramp
primary
#CBAF43
secondary
#98A4D2
accent
#67E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C