#CBC057#CBC057

#CBC057 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.6% C 0.127 H 103.3°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CBC057
RGBrgb(203, 192, 87)
HSLhsl(54, 53%, 57%)
HSVhsv(54, 57%, 80%)
CMYKcmyk(0%, 5.4%, 57.1%, 20.4%)
CIE-LABlab(76.73, -9.43, 53.26)
CIE-LCHlch(76.73, 54.09, 100.04°)
OKLaboklab(79.62% -0.0293 0.1235)
OKLCHoklch(79.62% 0.127 103.3)
XYZxyz(45.2001, 51.0855, 16.4945)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC057 #5762CB
analogous
#CB8657 #CBC057 #9CCB57
triadic
#CBC057 #57CBC0 #C057CB
tetradic
#CBC057 #57CB86 #5762CB #CB579C
square
#CBC057 #57CB86 #5762CB #CB579C
split-complementary
#CBC057 #579CCB #8657CB
monochromatic
#807828 #AFA336 #CBC057 #D9D286 #E8E3B4

Accessibility & contrast

On white

1.87
#CBC057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#CBC057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC057
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC057#FFFFFF#000000##000000
##CBC0571.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4C
Deuteranopia (green-blind)
#D3C05C
Tritanopia (blue-blind)
#D9B4A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc057;
/* rgb */ color: rgb(203, 192, 87);
/* oklch */ color: oklch(79.6% 0.127 103.3);
Tailwind
colors: {
  custom: {
    50: '#ddd28a',
    500: '#cbc057',
    950: '#000000',
  },
}
SCSS
$custom: #cbc057;
$custom-light: #ddd28a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc057",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 54.31,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79615,
    "c": 0.12692,
    "h": 103.3
  },
  "luminance": 0.51084
}

Semantic roles & 50–950 ramp

primary
#CBC057
secondary
#3F4588
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC057

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

Preview Lab → · Contrast checker → · Palette generator →

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