#CFA23D#CFA23D

#CFA23D is a light, vivid orange. Relative luminance 0.394; OKLCH L 73.6% C 0.127 H 84.2°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CFA23D
RGBrgb(207, 162, 61)
HSLhsl(42, 60%, 53%)
HSVhsv(42, 71%, 81%)
CMYKcmyk(0%, 21.7%, 70.5%, 18.8%)
CIE-LABlab(69.07, 6.42, 56.60)
CIE-LCHlch(69.07, 56.96, 83.52°)
OKLaboklab(73.58% 0.013 0.1266)
OKLCHoklch(73.58% 0.127 84.2)
XYZxyz(39.4971, 39.4457, 9.9474)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA23D #3D6ACF
analogous
#CF593D #CFA23D #B3CF3D
triadic
#CFA23D #3DCFA2 #A23DCF
tetradic
#CFA23D #3DCF59 #3D6ACF #CF3DB3
square
#CFA23D #3DCF59 #3D6ACF #CF3DB3
split-complementary
#CFA23D #3DB3CF #593DCF
monochromatic
#755A1D #A67F29 #CFA23D #DBBA6E #E7D19F

Accessibility & contrast

On white

2.36
#CFA23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CFA23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA23D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA23D#FFFFFF#000000##000000
##CFA23D1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A230
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#E0948D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa23d;
/* rgb */ color: rgb(207, 162, 61);
/* oklch */ color: oklch(73.6% 0.127 84.2);
Tailwind
colors: {
  custom: {
    50: '#e2bd78',
    500: '#cfa23d',
    950: '#000000',
  },
}
SCSS
$custom: #cfa23d;
$custom-light: #e2bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa23d",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 41.507,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73578,
    "c": 0.12726,
    "h": 84.2
  },
  "luminance": 0.39443
}

Semantic roles & 50–950 ramp

primary
#CFA23D
secondary
#94A8D4
accent
#75E344
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA23D

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

Preview Lab → · Contrast checker → · Palette generator →

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