#CBC53C#CBC53C

#CBC53C is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.4% C 0.152 H 106.9°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CBC53C
RGBrgb(203, 197, 60)
HSLhsl(57, 58%, 52%)
HSVhsv(57, 70%, 80%)
CMYKcmyk(0%, 3%, 70.4%, 20.4%)
CIE-LABlab(77.85, -13.64, 65.64)
CIE-LCHlch(77.85, 67.05, 101.74°)
OKLaboklab(80.44% -0.0441 0.1457)
OKLCHoklch(80.44% 0.152 106.9)
XYZxyz(45.4122, 52.9568, 12.1037)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC53C #3C42CB
analogous
#CB7E3C #CBC53C #89CB3C
triadic
#CBC53C #3CCBC5 #C53CCB
tetradic
#CBC53C #3CCB7E #3C42CB #CB3C89
square
#CBC53C #3CCB7E #3C42CB #CB3C89
split-complementary
#CBC53C #3C89CB #7E3CCB
monochromatic
#6F6C1E #9F9A2A #CBC53C #D8D36C #E5E29D

Accessibility & contrast

On white

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

On black

11.59
#CBC53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC53C
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC53C#FFFFFF#000000##000000
##CBC53C1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD25
Deuteranopia (green-blind)
#D8C346
Tritanopia (blue-blind)
#DAB8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc53c;
/* rgb */ color: rgb(203, 197, 60);
/* oklch */ color: oklch(80.4% 0.152 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded67b',
    500: '#cbc53c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc53c;
$custom-light: #ded67b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc53c",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 60
  },
  "hsl": {
    "h": 57.483,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80436,
    "c": 0.15224,
    "h": 106.9
  },
  "luminance": 0.52955
}

Semantic roles & 50–950 ramp

primary
#CBC53C
secondary
#333678
accent
#4DE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC53C

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

Preview Lab → · Contrast checker → · Palette generator →

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