#CBCA47#CBCA47

#CBCA47 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.6% C 0.150 H 108.9°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CBCA47
RGBrgb(203, 202, 71)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0.5%, 65%, 20.4%)
CIE-LABlab(79.27, -15.56, 62.87)
CIE-LCHlch(79.27, 64.77, 103.90°)
OKLaboklab(81.59% -0.0484 0.1417)
OKLCHoklch(81.59% 0.15 108.9)
XYZxyz(46.8880, 55.3939, 14.1822)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA47 #4748CB
analogous
#CB8847 #CBCA47 #8ACB47
triadic
#CBCA47 #47CBCA #CA47CB
tetradic
#CBCA47 #47CB88 #4748CB #CB478A
square
#CBCA47 #47CB88 #4748CB #CB478A
split-complementary
#CBCA47 #478ACB #8847CB
monochromatic
#767621 #A6A52F #CBCA47 #D8D877 #E6E5A6

Accessibility & contrast

On white

1.74
#CBCA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CBCA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA47
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA47#FFFFFF#000000##000000
##CBCA471.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC235
Deuteranopia (green-blind)
#DCC650
Tritanopia (blue-blind)
#D9BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca47;
/* rgb */ color: rgb(203, 202, 71);
/* oklch */ color: oklch(81.6% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#ded981',
    500: '#cbca47',
    950: '#000000',
  },
}
SCSS
$custom: #cbca47;
$custom-light: #ded981;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca47",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 59.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81591,
    "c": 0.14973,
    "h": 108.9
  },
  "luminance": 0.55393
}

Semantic roles & 50–950 ramp

primary
#CBCA47
secondary
#37387F
accent
#4ADF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCA47

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CBCA47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva