#CBCA57#CBCA57

#CBCA57 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.137 H 108.6°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CBCA57
RGBrgb(203, 202, 87)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 0.5%, 57.1%, 20.4%)
CIE-LABlab(79.40, -14.51, 56.26)
CIE-LCHlch(79.40, 58.10, 104.46°)
OKLaboklab(81.74% -0.0438 0.1299)
OKLCHoklch(81.74% 0.137 108.6)
XYZxyz(47.4708, 55.6270, 17.2514)
Luminance0.5563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA57 #5758CB
analogous
#CB9057 #CBCA57 #92CB57
triadic
#CBCA57 #57CBCA #CA57CB
tetradic
#CBCA57 #57CB90 #5758CB #CB5792
square
#CBCA57 #57CB90 #5758CB #CB5792
split-complementary
#CBCA57 #5792CB #9057CB
monochromatic
#807F28 #AFAE36 #CBCA57 #D9D986 #E8E7B4

Accessibility & contrast

On white

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

On black

12.13
#CBCA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA57
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA57#FFFFFF#000000##000000
##CBCA571.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24B
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#D8BEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca57;
/* rgb */ color: rgb(203, 202, 87);
/* oklch */ color: oklch(81.7% 0.137 108.6);
Tailwind
colors: {
  custom: {
    50: '#ddd98a',
    500: '#cbca57',
    950: '#000000',
  },
}
SCSS
$custom: #cbca57;
$custom-light: #ddd98a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca57",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 59.483,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81741,
    "c": 0.13708,
    "h": 108.6
  },
  "luminance": 0.55626
}

Semantic roles & 50–950 ramp

primary
#CBCA57
secondary
#3F3F88
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBCA57

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

Preview Lab → · Contrast checker → · Palette generator →

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