#CFA23C#CFA23C

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

Color values

HEX#CFA23C
RGBrgb(207, 162, 60)
HSLhsl(42, 60%, 52%)
HSVhsv(42, 71%, 81%)
CMYKcmyk(0%, 21.7%, 71%, 18.8%)
CIE-LABlab(69.07, 6.37, 57.01)
CIE-LCHlch(69.07, 57.37, 83.62°)
OKLaboklab(73.57% 0.0127 0.1273)
OKLCHoklch(73.57% 0.128 84.3)
XYZxyz(39.4704, 39.4350, 9.8069)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA23C #3C69CF
analogous
#CF593C #CFA23C #B2CF3C
triadic
#CFA23C #3CCFA2 #A23CCF
tetradic
#CFA23C #3CCF59 #3C69CF #CF3CB2
square
#CFA23C #3CCF59 #3C69CF #CF3CB2
split-complementary
#CFA23C #3CB2CF #593CCF
monochromatic
#74591D #A57F29 #CFA23C #DBB96D #E7D19E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFA23C#FFFFFF#000000##000000
##CFA23C1.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)
#B6A22E
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#E0948D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa23c;
/* rgb */ color: rgb(207, 162, 60);
/* oklch */ color: oklch(73.6% 0.128 84.3);
Tailwind
colors: {
  custom: {
    50: '#e2bd77',
    500: '#cfa23c',
    950: '#000000',
  },
}
SCSS
$custom: #cfa23c;
$custom-light: #e2bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa23c",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 41.633,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.73569,
    "c": 0.12792,
    "h": 84.3
  },
  "luminance": 0.39432
}

Semantic roles & 50–950 ramp

primary
#CFA23C
secondary
#93A7D3
accent
#75E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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