#CDB943#CDB943

#CDB943 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.137 H 99.5°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CDB943
RGBrgb(205, 185, 67)
HSLhsl(51, 58%, 53%)
HSVhsv(51, 67%, 80%)
CMYKcmyk(0%, 9.8%, 67.3%, 19.6%)
CIE-LABlab(74.88, -6.28, 60.01)
CIE-LCHlch(74.88, 60.34, 95.97°)
OKLaboklab(78.13% -0.0227 0.1349)
OKLCHoklch(78.13% 0.137 99.5)
XYZxyz(43.5409, 48.0843, 12.2968)
Luminance0.4808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB943 #4357CD
analogous
#CD7443 #CDB943 #9CCD43
triadic
#CDB943 #43CDB9 #B943CD
tetradic
#CDB943 #43CD74 #4357CD #CD439C
square
#CDB943 #43CD74 #4357CD #CD439C
split-complementary
#CDB943 #439CCD #7443CD
monochromatic
#766A1F #A7952C #CDB943 #DACB73 #E7DDA4

Accessibility & contrast

On white

1.98
#CDB943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#CDB943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB943
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB943#FFFFFF#000000##000000
##CDB9431.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB433
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#DCACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb943;
/* rgb */ color: rgb(205, 185, 67);
/* oklch */ color: oklch(78.1% 0.137 99.5);
Tailwind
colors: {
  custom: {
    50: '#e0cd7d',
    500: '#cdb943',
    950: '#000000',
  },
}
SCSS
$custom: #cdb943;
$custom-light: #e0cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb943",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 51.304,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7813,
    "c": 0.13682,
    "h": 99.5
  },
  "luminance": 0.48082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB943

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

Preview Lab → · Contrast checker → · Palette generator →

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