#CDB348#CDB348

#CDB348 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.128 H 95.5°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CDB348
RGBrgb(205, 179, 72)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 65%, 80%)
CMYKcmyk(0%, 12.7%, 64.9%, 19.6%)
CIE-LABlab(73.34, -2.85, 56.29)
CIE-LCHlch(73.34, 56.36, 92.90°)
OKLaboklab(76.93% -0.0123 0.1279)
OKLCHoklch(76.93% 0.128 95.5)
XYZxyz(42.4686, 45.6893, 12.7116)
Luminance0.4569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB348 #4862CD
analogous
#CD7148 #CDB348 #A5CD48
triadic
#CDB348 #48CDB3 #B348CD
tetradic
#CDB348 #48CD71 #4862CD #CD48A5
square
#CDB348 #48CD71 #4862CD #CD48A5
split-complementary
#CDB348 #48A5CD #7148CD
monochromatic
#796821 #A9912E #CDB348 #DAC778 #E7DBA8

Accessibility & contrast

On white

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

On black

10.14
#CDB348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB348
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB348#FFFFFF#000000##000000
##CDB3481.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb348;
/* rgb */ color: rgb(205, 179, 72);
/* oklch */ color: oklch(76.9% 0.128 95.5);
Tailwind
colors: {
  custom: {
    50: '#e0c980',
    500: '#cdb348',
    950: '#000000',
  },
}
SCSS
$custom: #cdb348;
$custom-light: #e0c980;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb348",
  "rgb": {
    "r": 205,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 48.271,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76928,
    "c": 0.12845,
    "h": 95.5
  },
  "luminance": 0.45687
}

Semantic roles & 50–950 ramp

primary
#CDB348
secondary
#9CA7D5
accent
#65E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB348

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

Preview Lab → · Contrast checker → · Palette generator →

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