#CCB23F#CCB23F
#CCB23F is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.5% C 0.134 H 96.2°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB23F |
|---|---|
| RGB | rgb(204, 178, 63) |
| HSL | hsl(49, 58%, 52%) |
| HSV | hsv(49, 69%, 80%) |
| CMYK | cmyk(0%, 12.7%, 69.1%, 20%) |
| CIE-LAB | lab(72.92, -3.27, 59.60) |
| CIE-LCH | lch(72.92, 59.69, 93.14°) |
| OKLab | oklab(76.55% -0.0145 0.1334) |
| OKLCH | oklch(76.55% 0.134 96.2) |
| XYZ | xyz(41.7215, 45.0392, 11.1975) |
| Luminance | 0.4504 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.71
Mustard (survey)
#CEB301
ΔE00 3.87
Mustard
#DBB42C
ΔE00 4.02
Dark Yellow
#D5B60A
ΔE00 4.16
Muddy Yellow
#BFAC05
ΔE00 4.37
Gold (survey)
#DBB40C
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB23F #3F59CC
analogous
#CC6B3F #CCB23F #A0CC3F
triadic
#CCB23F #3FCCB2 #B23FCC
tetradic
#CCB23F #3FCC6B #3F59CC #CC3FA0
square
#CCB23F #3FCC6B #3F59CC #CC3FA0
split-complementary
#CCB23F #3FA0CC #6B3FCC
monochromatic
#72631E #A38D2B #CCB23F #D9C56F #E6D9A0
Accessibility & contrast
On white
2.10
#CCB23F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.01
#CCB23F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB23F
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB23F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB23F | 1.00 | 2.10 | 10.01 | 10.01 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE2F
Deuteranopia (green-blind)
#CAB745
Tritanopia (blue-blind)
#DCA59B
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #ccb23f; /* rgb */ color: rgb(204, 178, 63); /* oklch */ color: oklch(76.5% 0.134 96.2);
Tailwind
colors: {
custom: {
50: '#dfc87a',
500: '#ccb23f',
950: '#000000',
},
}SCSS
$custom: #ccb23f; $custom-light: #dfc87a; $custom-dark: #000000;
JSON
{
"hex": "#ccb23f",
"rgb": {
"r": 204,
"g": 178,
"b": 63
},
"hsl": {
"h": 48.936,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.76546,
"c": 0.13422,
"h": 96.2
},
"luminance": 0.45037
}Semantic roles & 50–950 ramp
primary
#CCB23F
secondary
#95A0D2
accent
#63E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C