#CDA74B#CDA74B

#CDA74B is a light, moderate orange. Relative luminance 0.411; OKLCH L 74.5% C 0.119 H 86.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CDA74B
RGBrgb(205, 167, 75)
HSLhsl(42, 57%, 55%)
HSVhsv(42, 63%, 80%)
CMYKcmyk(0%, 18.5%, 63.4%, 19.6%)
CIE-LABlab(70.26, 3.70, 51.60)
CIE-LCHlch(70.26, 51.73, 85.90°)
OKLaboklab(74.51% 0.0069 0.1183)
OKLCHoklch(74.51% 0.119 86.6)
XYZxyz(40.2676, 41.1270, 12.4726)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA74B #4B71CD
analogous
#CD664B #CDA74B #B2CD4B
triadic
#CDA74B #4BCDA7 #A74BCD
tetradic
#CDA74B #4BCD66 #4B71CD #CD4BB2
square
#CDA74B #4BCD66 #4B71CD #CD4BB2
split-complementary
#CDA74B #4BB2CD #664BCD
monochromatic
#7B6122 #AB8730 #CDA74B #DABE7B #E8D6AB

Accessibility & contrast

On white

2.28
#CDA74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CDA74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA74B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA74B#FFFFFF#000000##000000
##CDA74B1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cda74b;
/* rgb */ color: rgb(205, 167, 75);
/* oklch */ color: oklch(74.5% 0.119 86.6);
Tailwind
colors: {
  custom: {
    50: '#e0c081',
    500: '#cda74b',
    950: '#000000',
  },
}
SCSS
$custom: #cda74b;
$custom-light: #e0c081;
$custom-dark: #000000;
JSON
{
  "hex": "#cda74b",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 42.462,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74507,
    "c": 0.11852,
    "h": 86.6
  },
  "luminance": 0.41125
}

Semantic roles & 50–950 ramp

primary
#CDA74B
secondary
#9FAFD5
accent
#74E048
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CDA74B

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

Preview Lab → · Contrast checker → · Palette generator →

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