#CDB256#CDB256

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

Color values

HEX#CDB256
RGBrgb(205, 178, 86)
HSLhsl(46, 54%, 57%)
HSVhsv(46, 58%, 80%)
CMYKcmyk(0%, 13.2%, 58%, 19.6%)
CIE-LABlab(73.22, -1.37, 49.77)
CIE-LCHlch(73.22, 49.79, 91.58°)
OKLaboklab(76.87% -0.0064 0.1158)
OKLCHoklch(76.87% 0.116 93.2)
XYZxyz(42.7787, 45.4939, 15.3302)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB256 #5671CD
analogous
#CD7756 #CDB256 #ACCD56
triadic
#CDB256 #56CDB2 #B256CD
tetradic
#CDB256 #56CD77 #5671CD #CD56AC
square
#CDB256 #56CD77 #5671CD #CD56AC
split-complementary
#CDB256 #56ACCD #7756CD
monochromatic
#826D26 #B19534 #CDB256 #DBC885 #E9DDB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB256#FFFFFF#000000##000000
##CDB2561.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)
#C2AF4D
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#DCA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb256;
/* rgb */ color: rgb(205, 178, 86);
/* oklch */ color: oklch(76.9% 0.116 93.2);
Tailwind
colors: {
  custom: {
    50: '#dfc888',
    500: '#cdb256',
    950: '#000000',
  },
}
SCSS
$custom: #cdb256;
$custom-light: #dfc888;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb256",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 46.387,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7687,
    "c": 0.11601,
    "h": 93.2
  },
  "luminance": 0.45492
}

Semantic roles & 50–950 ramp

primary
#CDB256
secondary
#A7B2D8
accent
#6CDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CDB256

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

Preview Lab → · Contrast checker → · Palette generator →

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