#CDB451#CDB451

#CDB451 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.122 H 95.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CDB451
RGBrgb(205, 180, 81)
HSLhsl(48, 55%, 56%)
HSVhsv(48, 60%, 80%)
CMYKcmyk(0%, 12.2%, 60.5%, 19.6%)
CIE-LABlab(73.69, -2.79, 52.64)
CIE-LCHlch(73.69, 52.71, 93.03°)
OKLaboklab(77.23% -0.0111 0.1214)
OKLCHoklch(77.23% 0.122 95.2)
XYZxyz(42.9851, 46.2178, 14.4397)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB451 #516ACD
analogous
#CD7651 #CDB451 #A8CD51
triadic
#CDB451 #51CDB4 #B451CD
tetradic
#CDB451 #51CD76 #516ACD #CD51A8
square
#CDB451 #51CD76 #516ACD #CD51A8
split-complementary
#CDB451 #51A8CD #7651CD
monochromatic
#7F6D25 #AF9632 #CDB451 #DBC881 #E8DDB0

Accessibility & contrast

On white

2.05
#CDB451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CDB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB451
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB451#FFFFFF#000000##000000
##CDB4511.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#CBB856
Tritanopia (blue-blind)
#DCA89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb451;
/* rgb */ color: rgb(205, 180, 81);
/* oklch */ color: oklch(77.2% 0.122 95.2);
Tailwind
colors: {
  custom: {
    50: '#dfca85',
    500: '#cdb451',
    950: '#000000',
  },
}
SCSS
$custom: #cdb451;
$custom-light: #dfca85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb451",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 47.903,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77226,
    "c": 0.12186,
    "h": 95.2
  },
  "luminance": 0.46216
}

Semantic roles & 50–950 ramp

primary
#CDB451
secondary
#A3AED7
accent
#67DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB451

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

Preview Lab → · Contrast checker → · Palette generator →

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