#CFAC3C#CFAC3C

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

Color values

HEX#CFAC3C
RGBrgb(207, 172, 60)
HSLhsl(46, 60%, 52%)
HSVhsv(46, 71%, 81%)
CMYKcmyk(0%, 16.9%, 71%, 18.8%)
CIE-LABlab(71.62, 1.04, 59.60)
CIE-LCHlch(71.62, 59.61, 89.00°)
OKLaboklab(75.58% -0.0027 0.1328)
OKLCHoklch(75.58% 0.133 91.2)
XYZxyz(41.3025, 43.0992, 10.4176)
Luminance0.4310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC3C #3C5FCF
analogous
#CF623C #CFAC3C #A9CF3C
triadic
#CFAC3C #3CCFAC #AC3CCF
tetradic
#CFAC3C #3CCF62 #3C5FCF #CF3CA9
square
#CFAC3C #3CCF62 #3C5FCF #CF3CA9
split-complementary
#CFAC3C #3CA9CF #623CCF
monochromatic
#745F1D #A58829 #CFAC3C #DBC16D #E7D69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAC3C#FFFFFF#000000##000000
##CFAC3C1.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)
#BFAA2C
Deuteranopia (green-blind)
#C7B442
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfac3c;
/* rgb */ color: rgb(207, 172, 60);
/* oklch */ color: oklch(75.6% 0.133 91.2);
Tailwind
colors: {
  custom: {
    50: '#e2c478',
    500: '#cfac3c',
    950: '#000000',
  },
}
SCSS
$custom: #cfac3c;
$custom-light: #e2c478;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac3c",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 45.714,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75582,
    "c": 0.1328,
    "h": 91.2
  },
  "luminance": 0.43097
}

Semantic roles & 50–950 ramp

primary
#CFAC3C
secondary
#93A3D3
accent
#6AE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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