#CFA23E#CFA23E

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

Color values

HEX#CFA23E
RGBrgb(207, 162, 62)
HSLhsl(41, 60%, 53%)
HSVhsv(41, 70%, 81%)
CMYKcmyk(0%, 21.7%, 70%, 18.8%)
CIE-LABlab(69.08, 6.48, 56.18)
CIE-LCHlch(69.08, 56.56, 83.43°)
OKLaboklab(73.59% 0.0132 0.1259)
OKLCHoklch(73.59% 0.127 84)
XYZxyz(39.5243, 39.4566, 10.0906)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA23E #3E6BCF
analogous
#CF593E #CFA23E #B4CF3E
triadic
#CFA23E #3ECFA2 #A23ECF
tetradic
#CFA23E #3ECF59 #3E6BCF #CF3EB4
square
#CFA23E #3ECF59 #3E6BCF #CF3EB4
split-complementary
#CFA23E #3EB4CF #593ECF
monochromatic
#755A1D #A68029 #CFA23E #DBBA6F #E7D1A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFA23E#FFFFFF#000000##000000
##CFA23E1.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)
#B6A231
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#E0948D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa23e;
/* rgb */ color: rgb(207, 162, 62);
/* oklch */ color: oklch(73.6% 0.127 84.0);
Tailwind
colors: {
  custom: {
    50: '#e2bd79',
    500: '#cfa23e',
    950: '#000000',
  },
}
SCSS
$custom: #cfa23e;
$custom-light: #e2bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa23e",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 41.379,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73586,
    "c": 0.12659,
    "h": 84
  },
  "luminance": 0.39454
}

Semantic roles & 50–950 ramp

primary
#CFA23E
secondary
#95A8D4
accent
#76E344
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA23E

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

Preview Lab → · Contrast checker → · Palette generator →

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