#CDB048#CDB048

#CDB048 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.126 H 93.5°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CDB048
RGBrgb(205, 176, 72)
HSLhsl(47, 57%, 54%)
HSVhsv(47, 65%, 80%)
CMYKcmyk(0%, 14.1%, 64.9%, 19.6%)
CIE-LABlab(72.56, -1.27, 55.45)
CIE-LCHlch(72.56, 55.47, 91.32°)
OKLaboklab(76.31% -0.0078 0.1261)
OKLCHoklch(76.31% 0.126 93.5)
XYZxyz(41.8739, 44.4999, 12.5134)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB048 #4865CD
analogous
#CD6D48 #CDB048 #A8CD48
triadic
#CDB048 #48CDB0 #B048CD
tetradic
#CDB048 #48CD6D #4865CD #CD48A8
square
#CDB048 #48CD6D #4865CD #CD48A8
split-complementary
#CDB048 #48A8CD #6D48CD
monochromatic
#796621 #A98F2E #CDB048 #DAC578 #E7DAA8

Accessibility & contrast

On white

2.12
#CDB048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CDB048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB048
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB048#FFFFFF#000000##000000
##CDB0481.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3C
Deuteranopia (green-blind)
#C9B64D
Tritanopia (blue-blind)
#DDA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb048;
/* rgb */ color: rgb(205, 176, 72);
/* oklch */ color: oklch(76.3% 0.126 93.5);
Tailwind
colors: {
  custom: {
    50: '#e0c780',
    500: '#cdb048',
    950: '#000000',
  },
}
SCSS
$custom: #cdb048;
$custom-light: #e0c780;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb048",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 46.917,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7631,
    "c": 0.12632,
    "h": 93.5
  },
  "luminance": 0.44498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB048

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

Preview Lab → · Contrast checker → · Palette generator →

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