#CDA23F#CDA23F

#CDA23F is a light, vivid orange. Relative luminance 0.392; OKLCH L 73.4% C 0.125 H 84.9°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CDA23F
RGBrgb(205, 162, 63)
HSLhsl(42, 59%, 53%)
HSVhsv(42, 69%, 80%)
CMYKcmyk(0%, 21%, 69.3%, 19.6%)
CIE-LABlab(68.88, 5.66, 55.49)
CIE-LCHlch(68.88, 55.77, 84.17°)
OKLaboklab(73.39% 0.0111 0.1247)
OKLCHoklch(73.39% 0.125 84.9)
XYZxyz(38.9966, 39.1813, 10.2104)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA23F #3F6ACD
analogous
#CD5B3F #CDA23F #B1CD3F
triadic
#CDA23F #3FCDA2 #A23FCD
tetradic
#CDA23F #3FCD5B #3F6ACD #CD3FB1
square
#CDA23F #3FCD5B #3F6ACD #CD3FB1
split-complementary
#CDA23F #3FB1CD #5B3FCD
monochromatic
#745A1E #A47F2B #CDA23F #DABA70 #E6D1A0

Accessibility & contrast

On white

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

On black

8.84
#CDA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA23F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA23F#FFFFFF#000000##000000
##CDA23F1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cda23f;
/* rgb */ color: rgb(205, 162, 63);
/* oklch */ color: oklch(73.4% 0.125 84.9);
Tailwind
colors: {
  custom: {
    50: '#e0bd79',
    500: '#cda23f',
    950: '#000000',
  },
}
SCSS
$custom: #cda23f;
$custom-light: #e0bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cda23f",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 41.831,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73386,
    "c": 0.12516,
    "h": 84.9
  },
  "luminance": 0.39179
}

Semantic roles & 50–950 ramp

primary
#CDA23F
secondary
#95A8D3
accent
#75E246
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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