#CBC53F#CBC53F

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

Color values

HEX#CBC53F
RGBrgb(203, 197, 63)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 69%, 80%)
CMYKcmyk(0%, 3%, 69%, 20.4%)
CIE-LABlab(77.87, -13.49, 64.55)
CIE-LCHlch(77.87, 65.95, 101.80°)
OKLaboklab(80.46% -0.0434 0.1439)
OKLCHoklch(80.46% 0.15 106.8)
XYZxyz(45.4938, 52.9895, 12.5332)
Luminance0.5299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC53F #3F45CB
analogous
#CB7F3F #CBC53F #8BCB3F
triadic
#CBC53F #3FCBC5 #C53FCB
tetradic
#CBC53F #3FCB7F #3F45CB #CB3F8B
square
#CBC53F #3FCB7F #3F45CB #CB3F8B
split-complementary
#CBC53F #3F8BCB #7F3FCB
monochromatic
#716D1F #A19C2C #CBC53F #D8D46F #E5E29F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC53F#FFFFFF#000000##000000
##CBC53F1.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)
#D5BE2A
Deuteranopia (green-blind)
#D8C348
Tritanopia (blue-blind)
#DAB8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc53f;
/* rgb */ color: rgb(203, 197, 63);
/* oklch */ color: oklch(80.5% 0.150 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded67c',
    500: '#cbc53f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc53f;
$custom-light: #ded67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc53f",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 57.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80458,
    "c": 0.15032,
    "h": 106.8
  },
  "luminance": 0.52988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC53F

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

Preview Lab → · Contrast checker → · Palette generator →

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