#CDA23B#CDA23B

#CDA23B is a light, vivid orange. Relative luminance 0.391; OKLCH L 73.4% C 0.128 H 85.5°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CDA23B
RGBrgb(205, 162, 59)
HSLhsl(42, 59%, 52%)
HSVhsv(42, 71%, 80%)
CMYKcmyk(0%, 21%, 71.2%, 19.6%)
CIE-LABlab(68.85, 5.45, 57.15)
CIE-LCHlch(68.85, 57.41, 84.55°)
OKLaboklab(73.35% 0.01 0.1275)
OKLCHoklch(73.35% 0.128 85.5)
XYZxyz(38.8889, 39.1382, 9.6430)
Luminance0.3914 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA23B #3B66CD
analogous
#CD593B #CDA23B #AFCD3B
triadic
#CDA23B #3BCDA2 #A23BCD
tetradic
#CDA23B #3BCD59 #3B66CD #CD3BAF
square
#CDA23B #3BCD59 #3B66CD #CD3BAF
split-complementary
#CDA23B #3BAFCD #593BCD
monochromatic
#71581D #A27E29 #CDA23B #D9B96C #E6D09D

Accessibility & contrast

On white

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

On black

8.83
#CDA23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA23B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA23B#FFFFFF#000000##000000
##CDA23B1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cda23b;
/* rgb */ color: rgb(205, 162, 59);
/* oklch */ color: oklch(73.4% 0.128 85.5);
Tailwind
colors: {
  custom: {
    50: '#e0bd77',
    500: '#cda23b',
    950: '#000000',
  },
}
SCSS
$custom: #cda23b;
$custom-light: #e0bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#cda23b",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 42.329,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73352,
    "c": 0.12786,
    "h": 85.5
  },
  "luminance": 0.39136
}

Semantic roles & 50–950 ramp

primary
#CDA23B
secondary
#92A5D2
accent
#74E345
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CDA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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