#CBCA48#CBCA48

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

Color values

HEX#CBCA48
RGBrgb(203, 202, 72)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 65%, 80%)
CMYKcmyk(0%, 0.5%, 64.5%, 20.4%)
CIE-LABlab(79.28, -15.50, 62.48)
CIE-LCHlch(79.28, 64.38, 103.94°)
OKLaboklab(81.6% -0.0482 0.141)
OKLCHoklch(81.6% 0.149 108.9)
XYZxyz(46.9204, 55.4068, 14.3526)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA48 #4849CB
analogous
#CB8948 #CBCA48 #8BCB48
triadic
#CBCA48 #48CBCA #CA48CB
tetradic
#CBCA48 #48CB89 #4849CB #CB488B
square
#CBCA48 #48CB89 #4849CB #CB488B
split-complementary
#CBCA48 #488BCB #8948CB
monochromatic
#777622 #A6A62F #CBCA48 #D9D878 #E6E6A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCA48#FFFFFF#000000##000000
##CBCA481.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)
#DAC236
Deuteranopia (green-blind)
#DCC650
Tritanopia (blue-blind)
#D9BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca48;
/* rgb */ color: rgb(203, 202, 72);
/* oklch */ color: oklch(81.6% 0.149 108.9);
Tailwind
colors: {
  custom: {
    50: '#ded982',
    500: '#cbca48',
    950: '#000000',
  },
}
SCSS
$custom: #cbca48;
$custom-light: #ded982;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca48",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 59.542,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.816,
    "c": 0.149,
    "h": 108.9
  },
  "luminance": 0.55405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCA48

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

Preview Lab → · Contrast checker → · Palette generator →

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