#CFA23B#CFA23B

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

Color values

HEX#CFA23B
RGBrgb(207, 162, 59)
HSLhsl(42, 61%, 52%)
HSVhsv(42, 71%, 81%)
CMYKcmyk(0%, 21.7%, 71.5%, 18.8%)
CIE-LABlab(69.06, 6.32, 57.42)
CIE-LCHlch(69.06, 57.77, 83.72°)
OKLaboklab(73.56% 0.0124 0.128)
OKLCHoklch(73.56% 0.129 84.5)
XYZxyz(39.4443, 39.4245, 9.6690)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA23B #3B68CF
analogous
#CF583B #CFA23B #B2CF3B
triadic
#CFA23B #3BCFA2 #A23BCF
tetradic
#CFA23B #3BCF58 #3B68CF #CF3BB2
square
#CFA23B #3BCF58 #3B68CF #CF3BB2
split-complementary
#CFA23B #3BB2CF #583BCF
monochromatic
#73591C #A57F28 #CFA23B #DBB96C #E7D19D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFA23B#FFFFFF#000000##000000
##CFA23B1.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)
#B6A22D
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#E0938D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa23b;
/* rgb */ color: rgb(207, 162, 59);
/* oklch */ color: oklch(73.6% 0.129 84.5);
Tailwind
colors: {
  custom: {
    50: '#e2bd77',
    500: '#cfa23b',
    950: '#000000',
  },
}
SCSS
$custom: #cfa23b;
$custom-light: #e2bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa23b",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 41.757,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.73561,
    "c": 0.12857,
    "h": 84.5
  },
  "luminance": 0.39422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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