#CBC53E#CBC53E

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

Color values

HEX#CBC53E
RGBrgb(203, 197, 62)
HSLhsl(57, 58%, 52%)
HSVhsv(57, 69%, 80%)
CMYKcmyk(0%, 3%, 69.5%, 20.4%)
CIE-LABlab(77.86, -13.54, 64.92)
CIE-LCHlch(77.86, 66.32, 101.78°)
OKLaboklab(80.45% -0.0437 0.1445)
OKLCHoklch(80.45% 0.151 106.8)
XYZxyz(45.4661, 52.9784, 12.3874)
Luminance0.5298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC53E #3E44CB
analogous
#CB7F3E #CBC53E #8BCB3E
triadic
#CBC53E #3ECBC5 #C53ECB
tetradic
#CBC53E #3ECB7F #3E44CB #CB3E8B
square
#CBC53E #3ECB7F #3E44CB #CB3E8B
split-complementary
#CBC53E #3E8BCB #7F3ECB
monochromatic
#706D1E #A19C2B #CBC53E #D8D36E #E5E29E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC53E#FFFFFF#000000##000000
##CBC53E1.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)
#D5BE28
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#DAB8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc53e;
/* rgb */ color: rgb(203, 197, 62);
/* oklch */ color: oklch(80.5% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded67c',
    500: '#cbc53e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc53e;
$custom-light: #ded67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc53e",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 62
  },
  "hsl": {
    "h": 57.447,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80451,
    "c": 0.15097,
    "h": 106.8
  },
  "luminance": 0.52977
}

Semantic roles & 50–950 ramp

primary
#CBC53E
secondary
#343779
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC53E

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

Preview Lab → · Contrast checker → · Palette generator →

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