#CBC43F#CBC43F

#CBC43F is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.2% C 0.149 H 106.3°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CBC43F
RGBrgb(203, 196, 63)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 69%, 80%)
CMYKcmyk(0%, 3.4%, 69%, 20.4%)
CIE-LABlab(77.60, -12.98, 64.29)
CIE-LCHlch(77.60, 65.58, 101.42°)
OKLaboklab(80.24% -0.042 0.1434)
OKLCHoklch(80.24% 0.149 106.3)
XYZxyz(45.2675, 52.5368, 12.4578)
Luminance0.5253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC43F #3F46CB
analogous
#CB7E3F #CBC43F #8CCB3F
triadic
#CBC43F #3FCBC4 #C43FCB
tetradic
#CBC43F #3FCB7E #3F46CB #CB3F8C
square
#CBC43F #3FCB7E #3F46CB #CB3F8C
split-complementary
#CBC43F #3F8CCB #7E3FCB
monochromatic
#716D1F #A19B2C #CBC43F #D8D36F #E5E29F

Accessibility & contrast

On white

1.82
#CBC43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CBC43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC43F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC43F#FFFFFF#000000##000000
##CBC43F1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2A
Deuteranopia (green-blind)
#D8C248
Tritanopia (blue-blind)
#DAB7AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc43f;
/* rgb */ color: rgb(203, 196, 63);
/* oklch */ color: oklch(80.2% 0.149 106.3);
Tailwind
colors: {
  custom: {
    50: '#ded57c',
    500: '#cbc43f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc43f;
$custom-light: #ded57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc43f",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 63
  },
  "hsl": {
    "h": 57,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80244,
    "c": 0.14938,
    "h": 106.3
  },
  "luminance": 0.52535
}

Semantic roles & 50–950 ramp

primary
#CBC43F
secondary
#34387A
accent
#4FE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC43F

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

Preview Lab → · Contrast checker → · Palette generator →

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