#CBC14F#CBC14F

#CBC14F is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.135 H 104.3°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CBC14F
RGBrgb(203, 193, 79)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 61%, 80%)
CMYKcmyk(0%, 4.9%, 61.1%, 20.4%)
CIE-LABlab(76.92, -10.51, 57.05)
CIE-LCHlch(76.92, 58.01, 100.44°)
OKLaboklab(79.74% -0.0333 0.1305)
OKLCHoklch(79.74% 0.135 104.3)
XYZxyz(45.1115, 51.4026, 14.9410)
Luminance0.5140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC14F #4F59CB
analogous
#CB834F #CBC14F #97CB4F
triadic
#CBC14F #4FCBC1 #C14FCB
tetradic
#CBC14F #4FCB83 #4F59CB #CB4F97
square
#CBC14F #4FCB83 #4F59CB #CB4F97
split-complementary
#CBC14F #4F97CB #834FCB
monochromatic
#7B7424 #AAA132 #CBC14F #D9D27E #E7E2AD

Accessibility & contrast

On white

1.86
#CBC14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#CBC14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC14F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC14F#FFFFFF#000000##000000
##CBC14F1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#D9B5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc14f;
/* rgb */ color: rgb(203, 193, 79);
/* oklch */ color: oklch(79.7% 0.135 104.3);
Tailwind
colors: {
  custom: {
    50: '#ded385',
    500: '#cbc14f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc14f;
$custom-light: #ded385;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc14f",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 79
  },
  "hsl": {
    "h": 55.161,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79744,
    "c": 0.13472,
    "h": 104.3
  },
  "luminance": 0.51401
}

Semantic roles & 50–950 ramp

primary
#CBC14F
secondary
#3B4183
accent
#56DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC14F

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

Preview Lab → · Contrast checker → · Palette generator →

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