#CDB255#CDB255

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

Color values

HEX#CDB255
RGBrgb(205, 178, 85)
HSLhsl(47, 55%, 57%)
HSVhsv(47, 59%, 80%)
CMYKcmyk(0%, 13.2%, 58.5%, 19.6%)
CIE-LABlab(73.21, -1.45, 50.24)
CIE-LCHlch(73.21, 50.26, 91.65°)
OKLaboklab(76.86% -0.0067 0.1167)
OKLCHoklch(76.86% 0.117 93.3)
XYZxyz(42.7387, 45.4779, 15.1195)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB255 #5570CD
analogous
#CD7655 #CDB255 #ACCD55
triadic
#CDB255 #55CDB2 #B255CD
tetradic
#CDB255 #55CD76 #5570CD #CD55AC
square
#CDB255 #55CD76 #5570CD #CD55AC
split-complementary
#CDB255 #55ACCD #7655CD
monochromatic
#826D26 #B19534 #CDB255 #DBC784 #E9DDB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB255#FFFFFF#000000##000000
##CDB2551.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)
#C3AF4C
Deuteranopia (green-blind)
#C9B759
Tritanopia (blue-blind)
#DCA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb255;
/* rgb */ color: rgb(205, 178, 85);
/* oklch */ color: oklch(76.9% 0.117 93.3);
Tailwind
colors: {
  custom: {
    50: '#dfc888',
    500: '#cdb255',
    950: '#000000',
  },
}
SCSS
$custom: #cdb255;
$custom-light: #dfc888;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb255",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 46.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76858,
    "c": 0.11689,
    "h": 93.3
  },
  "luminance": 0.45476
}

Semantic roles & 50–950 ramp

primary
#CDB255
secondary
#A6B1D7
accent
#6BDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB255

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

Preview Lab → · Contrast checker → · Palette generator →

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