#CBC543#CBC543

#CBC543 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.5% C 0.148 H 106.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CBC543
RGBrgb(203, 197, 67)
HSLhsl(57, 57%, 53%)
HSVhsv(57, 67%, 80%)
CMYKcmyk(0%, 3%, 67%, 20.4%)
CIE-LABlab(77.90, -13.27, 63.05)
CIE-LCHlch(77.90, 64.43, 101.89°)
OKLaboklab(80.49% -0.0424 0.1414)
OKLCHoklch(80.49% 0.148 106.7)
XYZxyz(45.6097, 53.0358, 13.1435)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC543 #4349CB
analogous
#CB8143 #CBC543 #8DCB43
triadic
#CBC543 #43CBC5 #C543CB
tetradic
#CBC543 #43CB81 #4349CB #CB438D
square
#CBC543 #43CB81 #4349CB #CB438D
split-complementary
#CBC543 #438DCB #8143CB
monochromatic
#747020 #A49E2D #CBC543 #D8D473 #E6E3A3

Accessibility & contrast

On white

1.81
#CBC543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CBC543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC543
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC543#FFFFFF#000000##000000
##CBC5431.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE30
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#D9B8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc543;
/* rgb */ color: rgb(203, 197, 67);
/* oklch */ color: oklch(80.5% 0.148 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded67e',
    500: '#cbc543',
    950: '#000000',
  },
}
SCSS
$custom: #cbc543;
$custom-light: #ded67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc543",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 57.353,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80488,
    "c": 0.14763,
    "h": 106.7
  },
  "luminance": 0.53034
}

Semantic roles & 50–950 ramp

primary
#CBC543
secondary
#36397C
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC543

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

Preview Lab → · Contrast checker → · Palette generator →

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