#CFA23A#CFA23A

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

Color values

HEX#CFA23A
RGBrgb(207, 162, 58)
HSLhsl(42, 61%, 52%)
HSVhsv(42, 72%, 81%)
CMYKcmyk(0%, 21.7%, 72%, 18.8%)
CIE-LABlab(69.05, 6.27, 57.83)
CIE-LCHlch(69.05, 58.17, 83.81°)
OKLaboklab(73.55% 0.0122 0.1286)
OKLCHoklch(73.55% 0.129 84.6)
XYZxyz(39.4186, 39.4143, 9.5337)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA23A #3A67CF
analogous
#CF583A #CFA23A #B2CF3A
triadic
#CFA23A #3ACFA2 #A23ACF
tetradic
#CFA23A #3ACF58 #3A67CF #CF3AB2
square
#CFA23A #3ACF58 #3A67CF #CF3AB2
split-complementary
#CFA23A #3AB2CF #583ACF
monochromatic
#73581C #A47E28 #CFA23A #DBB96B #E7D09C

Accessibility & contrast

On white

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

On black

8.88
#CFA23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA23A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA23A#FFFFFF#000000##000000
##CFA23A1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22C
Deuteranopia (green-blind)
#C1AD3F
Tritanopia (blue-blind)
#E0938D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cfa23a;
/* rgb */ color: rgb(207, 162, 58);
/* oklch */ color: oklch(73.6% 0.129 84.6);
Tailwind
colors: {
  custom: {
    50: '#e2bd76',
    500: '#cfa23a',
    950: '#000000',
  },
}
SCSS
$custom: #cfa23a;
$custom-light: #e2bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa23a",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 41.879,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73553,
    "c": 0.12921,
    "h": 84.6
  },
  "luminance": 0.39412
}

Semantic roles & 50–950 ramp

primary
#CFA23A
secondary
#92A5D3
accent
#74E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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