#CDB057#CDB057

#CDB057 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.114 H 91.5°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CDB057
RGBrgb(205, 176, 87)
HSLhsl(45, 54%, 57%)
HSVhsv(45, 58%, 80%)
CMYKcmyk(0%, 14.1%, 57.6%, 19.6%)
CIE-LABlab(72.71, -0.24, 48.71)
CIE-LCHlch(72.71, 48.71, 90.29°)
OKLaboklab(76.47% -0.003 0.1137)
OKLCHoklch(76.47% 0.114 91.5)
XYZxyz(42.4243, 44.7201, 15.4122)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB057 #5774CD
analogous
#CD7557 #CDB057 #AFCD57
triadic
#CDB057 #57CDB0 #B057CD
tetradic
#CDB057 #57CD75 #5774CD #CD57AF
square
#CDB057 #57CD75 #5774CD #CD57AF
split-complementary
#CDB057 #57AFCD #7557CD
monochromatic
#836C27 #B29335 #CDB057 #DBC686 #E9DCB5

Accessibility & contrast

On white

2.11
#CDB057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CDB057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB057
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB057#FFFFFF#000000##000000
##CDB0571.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4E
Deuteranopia (green-blind)
#C8B65B
Tritanopia (blue-blind)
#DCA49C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb057;
/* rgb */ color: rgb(205, 176, 87);
/* oklch */ color: oklch(76.5% 0.114 91.5);
Tailwind
colors: {
  custom: {
    50: '#dfc789',
    500: '#cdb057',
    950: '#000000',
  },
}
SCSS
$custom: #cdb057;
$custom-light: #dfc789;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb057",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 87
  },
  "hsl": {
    "h": 45.254,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76472,
    "c": 0.11369,
    "h": 91.5
  },
  "luminance": 0.44718
}

Semantic roles & 50–950 ramp

primary
#CDB057
secondary
#A8B4D8
accent
#6EDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB057

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

Preview Lab → · Contrast checker → · Palette generator →

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