#CDB254#CDB254

#CDB254 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.118 H 93.4°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CDB254
RGBrgb(205, 178, 84)
HSLhsl(47, 55%, 57%)
HSVhsv(47, 59%, 80%)
CMYKcmyk(0%, 13.2%, 59%, 19.6%)
CIE-LABlab(73.20, -1.52, 50.69)
CIE-LCHlch(73.20, 50.72, 91.72°)
OKLaboklab(76.85% -0.007 0.1176)
OKLCHoklch(76.85% 0.118 93.4)
XYZxyz(42.6993, 45.4621, 14.9117)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB254 #546FCD
analogous
#CD7654 #CDB254 #ABCD54
triadic
#CDB254 #54CDB2 #B254CD
tetradic
#CDB254 #54CD76 #546FCD #CD54AB
square
#CDB254 #54CD76 #546FCD #CD54AB
split-complementary
#CDB254 #54ABCD #7654CD
monochromatic
#816D26 #B09434 #CDB254 #DBC783 #E9DDB3

Accessibility & contrast

On white

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

On black

10.09
#CDB254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB254
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB254#FFFFFF#000000##000000
##CDB2541.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4B
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#DCA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cdb254;
/* rgb */ color: rgb(205, 178, 84);
/* oklch */ color: oklch(76.8% 0.118 93.4);
Tailwind
colors: {
  custom: {
    50: '#dfc887',
    500: '#cdb254',
    950: '#000000',
  },
}
SCSS
$custom: #cdb254;
$custom-light: #dfc887;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb254",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 46.612,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76847,
    "c": 0.11778,
    "h": 93.4
  },
  "luminance": 0.4546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB254

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

Preview Lab → · Contrast checker → · Palette generator →

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