#CDA74F#CDA74F

#CDA74F is a light, moderate orange. Relative luminance 0.412; OKLCH L 74.6% C 0.115 H 85.9°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CDA74F
RGBrgb(205, 167, 79)
HSLhsl(42, 56%, 56%)
HSVhsv(42, 61%, 80%)
CMYKcmyk(0%, 18.5%, 61.5%, 19.6%)
CIE-LABlab(70.30, 3.97, 49.77)
CIE-LCHlch(70.30, 49.93, 85.44°)
OKLaboklab(74.55% 0.0082 0.115)
OKLCHoklch(74.55% 0.115 85.9)
XYZxyz(40.4089, 41.1835, 13.2164)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA74F #4F75CD
analogous
#CD684F #CDA74F #B4CD4F
triadic
#CDA74F #4FCDA7 #A74FCD
tetradic
#CDA74F #4FCD68 #4F75CD #CD4FB4
square
#CDA74F #4FCD68 #4F75CD #CD4FB4
split-complementary
#CDA74F #4FB4CD #684FCD
monochromatic
#7E6324 #AE8831 #CDA74F #DBBF7F #E8D7AE

Accessibility & contrast

On white

2.27
#CDA74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CDA74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA74F
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA74F#FFFFFF#000000##000000
##CDA74F1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A646
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#DD9A93
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cda74f;
/* rgb */ color: rgb(205, 167, 79);
/* oklch */ color: oklch(74.6% 0.115 85.9);
Tailwind
colors: {
  custom: {
    50: '#dfc083',
    500: '#cda74f',
    950: '#000000',
  },
}
SCSS
$custom: #cda74f;
$custom-light: #dfc083;
$custom-dark: #000000;
JSON
{
  "hex": "#cda74f",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 41.905,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.74551,
    "c": 0.11525,
    "h": 85.9
  },
  "luminance": 0.41181
}

Semantic roles & 50–950 ramp

primary
#CDA74F
secondary
#A2B2D6
accent
#76DF49
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CDA74F

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

Preview Lab → · Contrast checker → · Palette generator →

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