#CBCA45#CBCA45

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

Color values

HEX#CBCA45
RGBrgb(203, 202, 69)
HSLhsl(60, 56%, 53%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0.5%, 66%, 20.4%)
CIE-LABlab(79.25, -15.68, 63.65)
CIE-LCHlch(79.25, 65.55, 103.84°)
OKLaboklab(81.58% -0.049 0.143)
OKLCHoklch(81.58% 0.151 108.9)
XYZxyz(46.8249, 55.3686, 13.8497)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA45 #4546CB
analogous
#CB8745 #CBCA45 #89CB45
triadic
#CBCA45 #45CBCA #CA45CB
tetradic
#CBCA45 #45CB87 #4546CB #CB4589
square
#CBCA45 #45CB87 #4546CB #CB4589
split-complementary
#CBCA45 #4589CB #8745CB
monochromatic
#757421 #A5A42E #CBCA45 #D8D875 #E6E5A5

Accessibility & contrast

On white

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

On black

12.07
#CBCA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA45
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA45#FFFFFF#000000##000000
##CBCA451.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#DCC64E
Tritanopia (blue-blind)
#D9BDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca45;
/* rgb */ color: rgb(203, 202, 69);
/* oklch */ color: oklch(81.6% 0.151 108.9);
Tailwind
colors: {
  custom: {
    50: '#ded980',
    500: '#cbca45',
    950: '#000000',
  },
}
SCSS
$custom: #cbca45;
$custom-light: #ded980;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca45",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 69
  },
  "hsl": {
    "h": 59.552,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81575,
    "c": 0.15115,
    "h": 108.9
  },
  "luminance": 0.55367
}

Semantic roles & 50–950 ramp

primary
#CBCA45
secondary
#37377E
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCA45

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

Preview Lab → · Contrast checker → · Palette generator →

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