#CBC957#CBC957

#CBC957 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.136 H 108.1°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CBC957
RGBrgb(203, 201, 87)
HSLhsl(59, 53%, 57%)
HSVhsv(59, 57%, 80%)
CMYKcmyk(0%, 1%, 57.1%, 20.4%)
CIE-LABlab(79.13, -14.00, 55.96)
CIE-LCHlch(79.13, 57.69, 104.05°)
OKLaboklab(81.53% -0.0423 0.1293)
OKLCHoklch(81.53% 0.136 108.1)
XYZxyz(47.2369, 55.1592, 17.1735)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC957 #5759CB
analogous
#CB8F57 #CBC957 #93CB57
triadic
#CBC957 #57CBC9 #C957CB
tetradic
#CBC957 #57CB8F #5759CB #CB5793
square
#CBC957 #57CB8F #5759CB #CB5793
split-complementary
#CBC957 #5793CB #8F57CB
monochromatic
#807E28 #AFAD36 #CBC957 #D9D886 #E8E7B4

Accessibility & contrast

On white

1.75
#CBC957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CBC957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC957
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC957#FFFFFF#000000##000000
##CBC9571.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24B
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#D8BDB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc957;
/* rgb */ color: rgb(203, 201, 87);
/* oklch */ color: oklch(81.5% 0.136 108.1);
Tailwind
colors: {
  custom: {
    50: '#ddd98a',
    500: '#cbc957',
    950: '#000000',
  },
}
SCSS
$custom: #cbc957;
$custom-light: #ddd98a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc957",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 87
  },
  "hsl": {
    "h": 58.966,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81527,
    "c": 0.13602,
    "h": 108.1
  },
  "luminance": 0.55158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC957

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

Preview Lab → · Contrast checker → · Palette generator →

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