#CDB248#CDB248

#CDB248 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.128 H 94.9°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CDB248
RGBrgb(205, 178, 72)
HSLhsl(48, 57%, 54%)
HSVhsv(48, 65%, 80%)
CMYKcmyk(0%, 13.2%, 64.9%, 19.6%)
CIE-LABlab(73.08, -2.33, 56.01)
CIE-LCHlch(73.08, 56.06, 92.38°)
OKLaboklab(76.72% -0.0108 0.1273)
OKLCHoklch(76.72% 0.128 94.9)
XYZxyz(42.2689, 45.2900, 12.6450)
Luminance0.4529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB248 #4863CD
analogous
#CD7048 #CDB248 #A5CD48
triadic
#CDB248 #48CDB2 #B248CD
tetradic
#CDB248 #48CD70 #4863CD #CD48A5
square
#CDB248 #48CD70 #4863CD #CD48A5
split-complementary
#CDB248 #48A5CD #7048CD
monochromatic
#796821 #A9902E #CDB248 #DAC678 #E7DAA8

Accessibility & contrast

On white

2.09
#CDB248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CDB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB248
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB248#FFFFFF#000000##000000
##CDB2481.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF3B
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#DDA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb248;
/* rgb */ color: rgb(205, 178, 72);
/* oklch */ color: oklch(76.7% 0.128 94.9);
Tailwind
colors: {
  custom: {
    50: '#e0c880',
    500: '#cdb248',
    950: '#000000',
  },
}
SCSS
$custom: #cdb248;
$custom-light: #e0c880;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb248",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 47.82,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76721,
    "c": 0.12772,
    "h": 94.9
  },
  "luminance": 0.45288
}

Semantic roles & 50–950 ramp

primary
#CDB248
secondary
#9CA8D5
accent
#66E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB248

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

Preview Lab → · Contrast checker → · Palette generator →

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