#CDB738#CDB738

#CDB738 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.143 H 99.1°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CDB738
RGBrgb(205, 183, 56)
HSLhsl(51, 60%, 51%)
HSVhsv(51, 73%, 80%)
CMYKcmyk(0%, 10.7%, 72.7%, 19.6%)
CIE-LABlab(74.28, -5.80, 63.69)
CIE-LCHlch(74.28, 63.96, 95.20°)
OKLaboklab(77.63% -0.0225 0.1408)
OKLCHoklch(77.63% 0.143 99.1)
XYZxyz(42.8262, 47.1337, 10.5825)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB738 #384ECD
analogous
#CD6C38 #CDB738 #98CD38
triadic
#CDB738 #38CDB7 #B738CD
tetradic
#CDB738 #38CD6C #384ECD #CD3898
square
#CDB738 #38CD6C #384ECD #CD3898
split-complementary
#CDB738 #3898CD #6C38CD
monochromatic
#6F631C #A08E28 #CDB738 #D9C969 #E6DA9A

Accessibility & contrast

On white

2.01
#CDB738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CDB738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB738
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB738#FFFFFF#000000##000000
##CDB7381.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B223
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#DDA99E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cdb738;
/* rgb */ color: rgb(205, 183, 56);
/* oklch */ color: oklch(77.6% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#e0cc77',
    500: '#cdb738',
    950: '#000000',
  },
}
SCSS
$custom: #cdb738;
$custom-light: #e0cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb738",
  "rgb": {
    "r": 205,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 51.141,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77628,
    "c": 0.14257,
    "h": 99.1
  },
  "luminance": 0.47132
}

Semantic roles & 50–950 ramp

primary
#CDB738
secondary
#8F99D1
accent
#5CE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB738

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

Preview Lab → · Contrast checker → · Palette generator →

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