#CDB257#CDB257

#CDB257 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.115 H 93.0°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CDB257
RGBrgb(205, 178, 87)
HSLhsl(46, 54%, 57%)
HSVhsv(46, 58%, 80%)
CMYKcmyk(0%, 13.2%, 57.6%, 19.6%)
CIE-LABlab(73.23, -1.30, 49.31)
CIE-LCHlch(73.23, 49.33, 91.51°)
OKLaboklab(76.88% -0.006 0.115)
OKLCHoklch(76.88% 0.115 93)
XYZxyz(42.8193, 45.5101, 15.5439)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB257 #5772CD
analogous
#CD7757 #CDB257 #ADCD57
triadic
#CDB257 #57CDB2 #B257CD
tetradic
#CDB257 #57CD77 #5772CD #CD57AD
square
#CDB257 #57CD77 #5772CD #CD57AD
split-complementary
#CDB257 #57ADCD #7757CD
monochromatic
#836E27 #B29535 #CDB257 #DBC886 #E9DDB5

Accessibility & contrast

On white

2.08
#CDB257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CDB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB257
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB257#FFFFFF#000000##000000
##CDB2571.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb257;
/* rgb */ color: rgb(205, 178, 87);
/* oklch */ color: oklch(76.9% 0.115 93.0);
Tailwind
colors: {
  custom: {
    50: '#dfc889',
    500: '#cdb257',
    950: '#000000',
  },
}
SCSS
$custom: #cdb257;
$custom-light: #dfc889;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb257",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 46.271,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76882,
    "c": 0.11511,
    "h": 93
  },
  "luminance": 0.45508
}

Semantic roles & 50–950 ramp

primary
#CDB257
secondary
#A8B3D8
accent
#6CDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB257

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

Preview Lab → · Contrast checker → · Palette generator →

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