#CFAC3A#CFAC3A

#CFAC3A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.6% C 0.134 H 91.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CFAC3A
RGBrgb(207, 172, 58)
HSLhsl(46, 61%, 52%)
HSVhsv(46, 72%, 81%)
CMYKcmyk(0%, 16.9%, 72%, 18.8%)
CIE-LABlab(71.61, 0.94, 60.38)
CIE-LCHlch(71.61, 60.39, 89.11°)
OKLaboklab(75.57% -0.0032 0.1341)
OKLCHoklch(75.57% 0.134 91.4)
XYZxyz(41.2506, 43.0784, 10.1444)
Luminance0.4308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC3A #3A5DCF
analogous
#CF623A #CFAC3A #A8CF3A
triadic
#CFAC3A #3ACFAC #AC3ACF
tetradic
#CFAC3A #3ACF62 #3A5DCF #CF3AA8
square
#CFAC3A #3ACF62 #3A5DCF #CF3AA8
split-complementary
#CFAC3A #3AA8CF #623ACF
monochromatic
#735E1C #A48728 #CFAC3A #DBC16B #E7D59C

Accessibility & contrast

On white

2.18
#CFAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#CFAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAC3A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAC3A#FFFFFF#000000##000000
##CFAC3A1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA29
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfac3a;
/* rgb */ color: rgb(207, 172, 58);
/* oklch */ color: oklch(75.6% 0.134 91.4);
Tailwind
colors: {
  custom: {
    50: '#e2c477',
    500: '#cfac3a',
    950: '#000000',
  },
}
SCSS
$custom: #cfac3a;
$custom-light: #e2c477;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac3a",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 45.906,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75567,
    "c": 0.1341,
    "h": 91.4
  },
  "luminance": 0.43076
}

Semantic roles & 50–950 ramp

primary
#CFAC3A
secondary
#92A1D3
accent
#69E444
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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