#CDBC54#CDBC54

#CDBC54 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.9% C 0.126 H 100.1°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CDBC54
RGBrgb(205, 188, 84)
HSLhsl(52, 55%, 57%)
HSVhsv(52, 59%, 80%)
CMYKcmyk(0%, 8.3%, 59%, 19.6%)
CIE-LABlab(75.82, -6.75, 53.65)
CIE-LCHlch(75.82, 54.07, 97.17°)
OKLaboklab(78.92% -0.0221 0.1239)
OKLCHoklch(78.92% 0.126 100.1)
XYZxyz(44.7620, 49.5875, 15.5993)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBC54 #5465CD
analogous
#CD8054 #CDBC54 #A2CD54
triadic
#CDBC54 #54CDBC #BC54CD
tetradic
#CDBC54 #54CD80 #5465CD #CD54A2
square
#CDBC54 #54CD80 #5465CD #CD54A2
split-complementary
#CDBC54 #54A2CD #8054CD
monochromatic
#817426 #B09F34 #CDBC54 #DBCF83 #E9E1B3

Accessibility & contrast

On white

1.92
#CDBC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CDBC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBC54
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBC54#FFFFFF#000000##000000
##CDBC541.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#DCB0A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdbc54;
/* rgb */ color: rgb(205, 188, 84);
/* oklch */ color: oklch(78.9% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#dfcf88',
    500: '#cdbc54',
    950: '#000000',
  },
}
SCSS
$custom: #cdbc54;
$custom-light: #dfcf88;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbc54",
  "rgb": {
    "r": 205,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 51.57,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.78921,
    "c": 0.12586,
    "h": 100.1
  },
  "luminance": 0.49586
}

Semantic roles & 50–950 ramp

primary
#CDBC54
secondary
#A6ADD7
accent
#5FDE4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDBC54

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

Preview Lab → · Contrast checker → · Palette generator →

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