#CBC33F#CBC33F

#CBC33F is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.0% C 0.148 H 105.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CBC33F
RGBrgb(203, 195, 63)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 69%, 80%)
CMYKcmyk(0%, 3.9%, 69%, 20.4%)
CIE-LABlab(77.33, -12.48, 64.02)
CIE-LCHlch(77.33, 65.22, 101.03°)
OKLaboklab(80.03% -0.0406 0.1428)
OKLCHoklch(80.03% 0.148 105.9)
XYZxyz(45.0427, 52.0872, 12.3829)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC33F #3F47CB
analogous
#CB7D3F #CBC33F #8DCB3F
triadic
#CBC33F #3FCBC3 #C33FCB
tetradic
#CBC33F #3FCB7D #3F47CB #CB3F8D
square
#CBC33F #3FCB7D #3F47CB #CB3F8D
split-complementary
#CBC33F #3F8DCB #7D3FCB
monochromatic
#716C1F #A19A2C #CBC33F #D8D26F #E5E19F

Accessibility & contrast

On white

1.84
#CBC33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CBC33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC33F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC33F#FFFFFF#000000##000000
##CBC33F1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#DAB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cbc33f;
/* rgb */ color: rgb(203, 195, 63);
/* oklch */ color: oklch(80.0% 0.148 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded47c',
    500: '#cbc33f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc33f;
$custom-light: #ded47c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc33f",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 56.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80031,
    "c": 0.14844,
    "h": 105.9
  },
  "luminance": 0.52086
}

Semantic roles & 50–950 ramp

primary
#CBC33F
secondary
#34387A
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC33F

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

Preview Lab → · Contrast checker → · Palette generator →

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