#CBCB57#CBCB57

#CBCB57 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 82.0% C 0.138 H 109.1°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#CBCB57
RGBrgb(203, 203, 87)
HSLhsl(60, 53%, 57%)
HSVhsv(60, 57%, 80%)
CMYKcmyk(0%, 0%, 57.1%, 20.4%)
CIE-LABlab(79.67, -15.01, 56.56)
CIE-LCHlch(79.67, 58.52, 104.86°)
OKLaboklab(81.96% -0.0452 0.1305)
OKLCHoklch(81.96% 0.138 109.1)
XYZxyz(47.7062, 56.0978, 17.3299)
Luminance0.5610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB57 #5757CB
analogous
#CB9157 #CBCB57 #91CB57
triadic
#CBCB57 #57CBCB #CB57CB
tetradic
#CBCB57 #57CB91 #5757CB #CB5791
square
#CBCB57 #57CB91 #5757CB #CB5791
split-complementary
#CBCB57 #5791CB #9157CB
monochromatic
#808028 #AFAF36 #CBCB57 #D9D986 #E8E8B4

Accessibility & contrast

On white

1.72
#CBCB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#CBCB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB57
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB57#FFFFFF#000000##000000
##CBCB571.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34A
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#D8BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbcb57;
/* rgb */ color: rgb(203, 203, 87);
/* oklch */ color: oklch(82.0% 0.138 109.1);
Tailwind
colors: {
  custom: {
    50: '#ddda8b',
    500: '#cbcb57',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb57;
$custom-light: #ddda8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb57",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81955,
    "c": 0.13813,
    "h": 109.1
  },
  "luminance": 0.56097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCB57

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

Preview Lab → · Contrast checker → · Palette generator →

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