#CBC54E#CBC54E

#CBC54E is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.139 H 106.4°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CBC54E
RGBrgb(203, 197, 78)
HSLhsl(57, 55%, 55%)
HSVhsv(57, 62%, 80%)
CMYKcmyk(0%, 3%, 61.6%, 20.4%)
CIE-LABlab(77.98, -12.61, 58.63)
CIE-LCHlch(77.98, 59.97, 102.14°)
OKLaboklab(80.58% -0.0394 0.1337)
OKLCHoklch(80.58% 0.139 106.4)
XYZxyz(45.9716, 53.1806, 15.0495)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC54E #4E54CB
analogous
#CB864E #CBC54E #92CB4E
triadic
#CBC54E #4ECBC5 #C54ECB
tetradic
#CBC54E #4ECB86 #4E54CB #CB4E92
square
#CBC54E #4ECB86 #4E54CB #CB4E92
split-complementary
#CBC54E #4E92CB #864ECB
monochromatic
#7B7624 #AAA432 #CBC54E #D9D57D #E7E4AD

Accessibility & contrast

On white

1.80
#CBC54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CBC54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC54E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC54E#FFFFFF#000000##000000
##CBC54E1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE40
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#D9B9AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc54e;
/* rgb */ color: rgb(203, 197, 78);
/* oklch */ color: oklch(80.6% 0.139 106.4);
Tailwind
colors: {
  custom: {
    50: '#ded685',
    500: '#cbc54e',
    950: '#000000',
  },
}
SCSS
$custom: #cbc54e;
$custom-light: #ded685;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc54e",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 57.12,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80584,
    "c": 0.13941,
    "h": 106.4
  },
  "luminance": 0.53179
}

Semantic roles & 50–950 ramp

primary
#CBC54E
secondary
#3A3E83
accent
#51DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CBC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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