#CBC857#CBC857

#CBC857 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.3% C 0.135 H 107.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CBC857
RGBrgb(203, 200, 87)
HSLhsl(58, 53%, 57%)
HSVhsv(58, 57%, 80%)
CMYKcmyk(0%, 1.5%, 57.1%, 20.4%)
CIE-LABlab(78.86, -13.50, 55.66)
CIE-LCHlch(78.86, 57.28, 103.63°)
OKLaboklab(81.31% -0.0409 0.1286)
OKLCHoklch(81.31% 0.135 107.6)
XYZxyz(47.0046, 54.6945, 17.0960)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC857 #575ACB
analogous
#CB8E57 #CBC857 #94CB57
triadic
#CBC857 #57CBC8 #C857CB
tetradic
#CBC857 #57CB8E #575ACB #CB5794
square
#CBC857 #57CB8E #575ACB #CB5794
split-complementary
#CBC857 #5794CB #8E57CB
monochromatic
#807E28 #AFAC36 #CBC857 #D9D786 #E8E7B4

Accessibility & contrast

On white

1.76
#CBC857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CBC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC857
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC857#FFFFFF#000000##000000
##CBC8571.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#D8BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc857;
/* rgb */ color: rgb(203, 200, 87);
/* oklch */ color: oklch(81.3% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddd88a',
    500: '#cbc857',
    950: '#000000',
  },
}
SCSS
$custom: #cbc857;
$custom-light: #ddd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc857",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 58.448,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81313,
    "c": 0.13497,
    "h": 107.6
  },
  "luminance": 0.54693
}

Semantic roles & 50–950 ramp

primary
#CBC857
secondary
#3F4088
accent
#4FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC857

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

Preview Lab → · Contrast checker → · Palette generator →

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