#CFA23F#CFA23F

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

Color values

HEX#CFA23F
RGBrgb(207, 162, 63)
HSLhsl(41, 60%, 53%)
HSVhsv(41, 70%, 81%)
CMYKcmyk(0%, 21.7%, 69.6%, 18.8%)
CIE-LABlab(69.09, 6.53, 55.76)
CIE-LCHlch(69.09, 56.14, 83.32°)
OKLaboklab(73.6% 0.0135 0.1252)
OKLCHoklch(73.6% 0.126 83.8)
XYZxyz(39.5520, 39.4676, 10.2365)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA23F #3F6CCF
analogous
#CF5A3F #CFA23F #B4CF3F
triadic
#CFA23F #3FCFA2 #A23FCF
tetradic
#CFA23F #3FCF5A #3F6CCF #CF3FB4
square
#CFA23F #3FCF5A #3F6CCF #CF3FB4
split-complementary
#CFA23F #3FB4CF #5A3FCF
monochromatic
#765A1E #A7802A #CFA23F #DBBA70 #E7D1A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFA23F#FFFFFF#000000##000000
##CFA23F1.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)
#B6A232
Deuteranopia (green-blind)
#C0AD43
Tritanopia (blue-blind)
#E0948D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa23f;
/* rgb */ color: rgb(207, 162, 63);
/* oklch */ color: oklch(73.6% 0.126 83.8);
Tailwind
colors: {
  custom: {
    50: '#e2bd79',
    500: '#cfa23f',
    950: '#000000',
  },
}
SCSS
$custom: #cfa23f;
$custom-light: #e2bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa23f",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 41.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.73595,
    "c": 0.12592,
    "h": 83.8
  },
  "luminance": 0.39465
}

Semantic roles & 50–950 ramp

primary
#CFA23F
secondary
#96A9D4
accent
#76E345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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