#CBCA46#CBCA46

#CBCA46 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#CBCA46
RGBrgb(203, 202, 70)
HSLhsl(60, 56%, 54%)
HSVhsv(60, 66%, 80%)
CMYKcmyk(0%, 0.5%, 65.5%, 20.4%)
CIE-LABlab(79.26, -15.62, 63.26)
CIE-LCHlch(79.26, 65.16, 103.87°)
OKLaboklab(81.58% -0.0487 0.1423)
OKLCHoklch(81.58% 0.15 108.9)
XYZxyz(46.8562, 55.3811, 14.0146)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA46 #4647CB
analogous
#CB8746 #CBCA46 #89CB46
triadic
#CBCA46 #46CBCA #CA46CB
tetradic
#CBCA46 #46CB87 #4647CB #CB4689
square
#CBCA46 #46CB87 #4647CB #CB4689
split-complementary
#CBCA46 #4689CB #8746CB
monochromatic
#767521 #A5A42E #CBCA46 #D8D876 #E6E5A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCA46#FFFFFF#000000##000000
##CBCA461.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)
#DAC233
Deuteranopia (green-blind)
#DCC64F
Tritanopia (blue-blind)
#D9BEAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbca46;
/* rgb */ color: rgb(203, 202, 70);
/* oklch */ color: oklch(81.6% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#ded980',
    500: '#cbca46',
    950: '#000000',
  },
}
SCSS
$custom: #cbca46;
$custom-light: #ded980;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca46",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 59.549,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81583,
    "c": 0.15044,
    "h": 108.9
  },
  "luminance": 0.5538
}

Semantic roles & 50–950 ramp

primary
#CBCA46
secondary
#37387E
accent
#4ADF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CBCA46

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

Preview Lab → · Contrast checker → · Palette generator →

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