#CDAE38#CDAE38

#CDAE38 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.8% C 0.136 H 93.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CDAE38
RGBrgb(205, 174, 56)
HSLhsl(48, 60%, 51%)
HSVhsv(48, 73%, 80%)
CMYKcmyk(0%, 15.1%, 72.7%, 19.6%)
CIE-LABlab(71.92, -1.08, 61.40)
CIE-LCHlch(71.92, 61.41, 91.01°)
OKLaboklab(75.76% -0.0091 0.1359)
OKLCHoklch(75.76% 0.136 93.8)
XYZxyz(41.0289, 43.5391, 9.9834)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAE38 #3857CD
analogous
#CD6338 #CDAE38 #A1CD38
triadic
#CDAE38 #38CDAE #AE38CD
tetradic
#CDAE38 #38CD63 #3857CD #CD38A1
square
#CDAE38 #38CD63 #3857CD #CD38A1
split-complementary
#CDAE38 #38A1CD #6338CD
monochromatic
#6F5E1C #A08728 #CDAE38 #D9C269 #E6D69A

Accessibility & contrast

On white

2.16
#CDAE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CDAE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAE38
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAE38#FFFFFF#000000##000000
##CDAE381.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#DEA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cdae38;
/* rgb */ color: rgb(205, 174, 56);
/* oklch */ color: oklch(75.8% 0.136 93.8);
Tailwind
colors: {
  custom: {
    50: '#e0c576',
    500: '#cdae38',
    950: '#000000',
  },
}
SCSS
$custom: #cdae38;
$custom-light: #e0c576;
$custom-dark: #000000;
JSON
{
  "hex": "#cdae38",
  "rgb": {
    "r": 205,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 47.517,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75763,
    "c": 0.13622,
    "h": 93.8
  },
  "luminance": 0.43537
}

Semantic roles & 50–950 ramp

primary
#CDAE38
secondary
#8F9DD1
accent
#66E345
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDAE38

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

Preview Lab → · Contrast checker → · Palette generator →

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