#CDB351#CDB351

#CDB351 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.121 H 94.5°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CDB351
RGBrgb(205, 179, 81)
HSLhsl(47, 55%, 56%)
HSVhsv(47, 60%, 80%)
CMYKcmyk(0%, 12.7%, 60.5%, 19.6%)
CIE-LABlab(73.43, -2.26, 52.35)
CIE-LCHlch(73.43, 52.40, 92.47°)
OKLaboklab(77.02% -0.0095 0.1207)
OKLCHoklch(77.02% 0.121 94.5)
XYZxyz(42.7840, 45.8155, 14.3727)
Luminance0.4581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB351 #516BCD
analogous
#CD7551 #CDB351 #A9CD51
triadic
#CDB351 #51CDB3 #B351CD
tetradic
#CDB351 #51CD75 #516BCD #CD51A9
square
#CDB351 #51CD75 #516BCD #CD51A9
split-complementary
#CDB351 #51A9CD #7551CD
monochromatic
#7F6C25 #AF9532 #CDB351 #DBC881 #E8DDB0

Accessibility & contrast

On white

2.07
#CDB351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CDB351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB351
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB351#FFFFFF#000000##000000
##CDB3511.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#CAB855
Tritanopia (blue-blind)
#DCA69E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb351;
/* rgb */ color: rgb(205, 179, 81);
/* oklch */ color: oklch(77.0% 0.121 94.5);
Tailwind
colors: {
  custom: {
    50: '#dfc985',
    500: '#cdb351',
    950: '#000000',
  },
}
SCSS
$custom: #cdb351;
$custom-light: #dfc985;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb351",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 47.419,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77019,
    "c": 0.12112,
    "h": 94.5
  },
  "luminance": 0.45813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB351

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

Preview Lab → · Contrast checker → · Palette generator →

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