#CDA23A#CDA23A

#CDA23A is a light, vivid orange. Relative luminance 0.391; OKLCH L 73.3% C 0.129 H 85.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CDA23A
RGBrgb(205, 162, 58)
HSLhsl(42, 60%, 52%)
HSVhsv(42, 72%, 80%)
CMYKcmyk(0%, 21%, 71.7%, 19.6%)
CIE-LABlab(68.84, 5.40, 57.55)
CIE-LCHlch(68.84, 57.81, 84.64°)
OKLaboklab(73.34% 0.0098 0.1281)
OKLCHoklch(73.34% 0.129 85.6)
XYZxyz(38.8632, 39.1279, 9.5077)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA23A #3A65CD
analogous
#CD593A #CDA23A #AFCD3A
triadic
#CDA23A #3ACDA2 #A23ACD
tetradic
#CDA23A #3ACD59 #3A65CD #CD3AAF
square
#CDA23A #3ACD59 #3A65CD #CD3AAF
split-complementary
#CDA23A #3AAFCD #593ACD
monochromatic
#70581C #A17E29 #CDA23A #D9B96B #E6D09C

Accessibility & contrast

On white

2.38
#CDA23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CDA23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA23A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA23A#FFFFFF#000000##000000
##CDA23A1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12C
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#DE948D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cda23a;
/* rgb */ color: rgb(205, 162, 58);
/* oklch */ color: oklch(73.3% 0.129 85.6);
Tailwind
colors: {
  custom: {
    50: '#e0bd76',
    500: '#cda23a',
    950: '#000000',
  },
}
SCSS
$custom: #cda23a;
$custom-light: #e0bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cda23a",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 42.449,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73343,
    "c": 0.12851,
    "h": 85.6
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

primary
#CDA23A
secondary
#91A4D2
accent
#73E345
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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