#CFAC39#CFAC39

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

Color values

HEX#CFAC39
RGBrgb(207, 172, 57)
HSLhsl(46, 61%, 52%)
HSVhsv(46, 72%, 81%)
CMYKcmyk(0%, 16.9%, 72.5%, 18.8%)
CIE-LABlab(71.60, 0.89, 60.77)
CIE-LCHlch(71.60, 60.77, 89.16°)
OKLaboklab(75.56% -0.0035 0.1347)
OKLCHoklch(75.56% 0.135 91.5)
XYZxyz(41.2254, 43.0683, 10.0117)
Luminance0.4307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC39 #395CCF
analogous
#CF6139 #CFAC39 #A7CF39
triadic
#CFAC39 #39CFAC #AC39CF
tetradic
#CFAC39 #39CF61 #395CCF #CF39A7
square
#CFAC39 #39CF61 #395CCF #CF39A7
split-complementary
#CFAC39 #39A7CF #6139CF
monochromatic
#725E1C #A38628 #CFAC39 #DBC16A #E7D59C

Accessibility & contrast

On white

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

On black

9.61
#CFAC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAC39
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAC39#FFFFFF#000000##000000
##CFAC391.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfac39;
/* rgb */ color: rgb(207, 172, 57);
/* oklch */ color: oklch(75.6% 0.135 91.5);
Tailwind
colors: {
  custom: {
    50: '#e2c477',
    500: '#cfac39',
    950: '#000000',
  },
}
SCSS
$custom: #cfac39;
$custom-light: #e2c477;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac39",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 57
  },
  "hsl": {
    "h": 46,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75559,
    "c": 0.13473,
    "h": 91.5
  },
  "luminance": 0.43066
}

Semantic roles & 50–950 ramp

primary
#CFAC39
secondary
#91A0D3
accent
#69E444
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAC39

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

Preview Lab → · Contrast checker → · Palette generator →

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