#CDBA2E#CDBA2E

#CDBA2E is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.150 H 101.1°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CDBA2E
RGBrgb(205, 186, 46)
HSLhsl(53, 63%, 49%)
HSVhsv(53, 78%, 80%)
CMYKcmyk(0%, 9.3%, 77.6%, 19.6%)
CIE-LABlab(75.01, -7.77, 67.81)
CIE-LCHlch(75.01, 68.25, 96.53°)
OKLaboklab(78.2% -0.029 0.1476)
OKLCHoklch(78.2% 0.15 101.1)
XYZxyz(43.2310, 48.2962, 9.6292)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBA2E #2E41CD
analogous
#CD6B2E #CDBA2E #91CD2E
triadic
#CDBA2E #2ECDBA #BA2ECD
tetradic
#CDBA2E #2ECD6B #2E41CD #CD2E91
square
#CDBA2E #2ECD6B #2E41CD #CD2E91
split-complementary
#CDBA2E #2E91CD #6B2ECD
monochromatic
#695F18 #9B8D23 #CDBA2E #DBCC5D #E6DC8F

Accessibility & contrast

On white

1.97
#CDBA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CDBA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBA2E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBA2E#FFFFFF#000000##000000
##CDBA2E1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB409
Deuteranopia (green-blind)
#D1BC39
Tritanopia (blue-blind)
#DDACA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdba2e;
/* rgb */ color: rgb(205, 186, 46);
/* oklch */ color: oklch(78.2% 0.150 101.1);
Tailwind
colors: {
  custom: {
    50: '#e0ce73',
    500: '#cdba2e',
    950: '#000000',
  },
}
SCSS
$custom: #cdba2e;
$custom-light: #e0ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#cdba2e",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 46
  },
  "hsl": {
    "h": 52.83,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78195,
    "c": 0.15047,
    "h": 101.1
  },
  "luminance": 0.48294
}

Semantic roles & 50–950 ramp

primary
#CDBA2E
secondary
#868FD0
accent
#55E641
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CDBA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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