#CBC541#CBC541

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

Color values

HEX#CBC541
RGBrgb(203, 197, 65)
HSLhsl(57, 57%, 53%)
HSVhsv(57, 68%, 80%)
CMYKcmyk(0%, 3%, 68%, 20.4%)
CIE-LABlab(77.88, -13.38, 63.81)
CIE-LCHlch(77.88, 65.20, 101.85°)
OKLaboklab(80.47% -0.0429 0.1427)
OKLCHoklch(80.47% 0.149 106.7)
XYZxyz(45.5507, 53.0122, 12.8330)
Luminance0.5301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC541 #4147CB
analogous
#CB8041 #CBC541 #8CCB41
triadic
#CBC541 #41CBC5 #C541CB
tetradic
#CBC541 #41CB80 #4147CB #CB418C
square
#CBC541 #41CB80 #4147CB #CB418C
split-complementary
#CBC541 #418CCB #8041CB
monochromatic
#726F1F #A29D2C #CBC541 #D8D471 #E5E2A1

Accessibility & contrast

On white

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

On black

11.60
#CBC541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC541
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC541#FFFFFF#000000##000000
##CBC5411.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2D
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#DAB8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc541;
/* rgb */ color: rgb(203, 197, 65);
/* oklch */ color: oklch(80.5% 0.149 106.7);
Tailwind
colors: {
  custom: {
    50: '#ded67d',
    500: '#cbc541',
    950: '#000000',
  },
}
SCSS
$custom: #cbc541;
$custom-light: #ded67d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc541",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 57.391,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80473,
    "c": 0.14899,
    "h": 106.7
  },
  "luminance": 0.53011
}

Semantic roles & 50–950 ramp

primary
#CBC541
secondary
#35387B
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC541

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

Preview Lab → · Contrast checker → · Palette generator →

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