#CBCA62#CBCA62

#CBCA62 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.127 H 108.4°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#CBCA62
RGBrgb(203, 202, 98)
HSLhsl(59, 50%, 59%)
HSVhsv(59, 52%, 80%)
CMYKcmyk(0%, 0.5%, 51.7%, 20.4%)
CIE-LABlab(79.51, -13.64, 51.36)
CIE-LCHlch(79.51, 53.14, 104.87°)
OKLaboklab(81.86% -0.0401 0.1206)
OKLCHoklch(81.86% 0.127 108.4)
XYZxyz(47.9549, 55.8206, 19.8012)
Luminance0.5582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA62 #6263CB
analogous
#CB9662 #CBCA62 #98CB62
triadic
#CBCA62 #62CBCA #CA62CB
tetradic
#CBCA62 #62CB96 #6263CB #CB6298
square
#CBCA62 #62CB96 #6263CB #CB6298
split-complementary
#CBCA62 #6298CB #9662CB
monochromatic
#86852C #B4B33C #CBCA62 #DADA90 #E9E9BE

Accessibility & contrast

On white

1.73
#CBCA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#CBCA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA62
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA62#FFFFFF#000000##000000
##CBCA621.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#DAC767
Tritanopia (blue-blind)
#D7BFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca62;
/* rgb */ color: rgb(203, 202, 98);
/* oklch */ color: oklch(81.9% 0.127 108.4);
Tailwind
colors: {
  custom: {
    50: '#ddda91',
    500: '#cbca62',
    950: '#000000',
  },
}
SCSS
$custom: #cbca62;
$custom-light: #ddda91;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca62",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 59.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81864,
    "c": 0.12709,
    "h": 108.4
  },
  "luminance": 0.55819
}

Semantic roles & 50–950 ramp

primary
#CBCA62
secondary
#44458D
accent
#4FDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CBCA62

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

Preview Lab → · Contrast checker → · Palette generator →

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