#CDB843#CDB843

#CDB843 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.9% C 0.136 H 99.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CDB843
RGBrgb(205, 184, 67)
HSLhsl(51, 58%, 53%)
HSVhsv(51, 67%, 80%)
CMYKcmyk(0%, 10.2%, 67.3%, 19.6%)
CIE-LABlab(74.61, -5.76, 59.74)
CIE-LCHlch(74.61, 60.02, 95.50°)
OKLaboklab(77.92% -0.0212 0.1344)
OKLCHoklch(77.92% 0.136 99)
XYZxyz(43.3324, 47.6674, 12.2274)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB843 #4358CD
analogous
#CD7343 #CDB843 #9DCD43
triadic
#CDB843 #43CDB8 #B843CD
tetradic
#CDB843 #43CD73 #4358CD #CD439D
square
#CDB843 #43CD73 #4358CD #CD439D
split-complementary
#CDB843 #439DCD #7343CD
monochromatic
#76691F #A7942C #CDB843 #DACA73 #E7DDA4

Accessibility & contrast

On white

1.99
#CDB843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#CDB843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB843
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB843#FFFFFF#000000##000000
##CDB8431.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B333
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#DDABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb843;
/* rgb */ color: rgb(205, 184, 67);
/* oklch */ color: oklch(77.9% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#e0cd7d',
    500: '#cdb843',
    950: '#000000',
  },
}
SCSS
$custom: #cdb843;
$custom-light: #e0cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb843",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 50.87,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77922,
    "c": 0.13602,
    "h": 99
  },
  "luminance": 0.47665
}

Semantic roles & 50–950 ramp

primary
#CDB843
secondary
#98A1D4
accent
#5EE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB843

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

Preview Lab → · Contrast checker → · Palette generator →

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