#CFAC37#CFAC37

#CFAC37 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.5% C 0.136 H 91.7°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CFAC37
RGBrgb(207, 172, 55)
HSLhsl(46, 61%, 51%)
HSVhsv(46, 73%, 81%)
CMYKcmyk(0%, 16.9%, 73.4%, 18.8%)
CIE-LABlab(71.59, 0.80, 61.52)
CIE-LCHlch(71.59, 61.53, 89.26°)
OKLaboklab(75.55% -0.004 0.1359)
OKLCHoklch(75.55% 0.136 91.7)
XYZxyz(41.1765, 43.0488, 9.7541)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC37 #375ACF
analogous
#CF6037 #CFAC37 #A6CF37
triadic
#CFAC37 #37CFAC #AC37CF
tetradic
#CFAC37 #37CF60 #375ACF #CF37A6
square
#CFAC37 #37CF60 #375ACF #CF37A6
split-complementary
#CFAC37 #37A6CF #6037CF
monochromatic
#715D1B #A28627 #CFAC37 #DBC068 #E7D59A

Accessibility & contrast

On white

2.19
#CFAC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAC37#FFFFFF#000000##000000
##CFAC371.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfac37;
/* rgb */ color: rgb(207, 172, 55);
/* oklch */ color: oklch(75.5% 0.136 91.7);
Tailwind
colors: {
  custom: {
    50: '#e2c476',
    500: '#cfac37',
    950: '#000000',
  },
}
SCSS
$custom: #cfac37;
$custom-light: #e2c476;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac37",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 46.184,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75545,
    "c": 0.13597,
    "h": 91.7
  },
  "luminance": 0.43046
}

Semantic roles & 50–950 ramp

primary
#CFAC37
secondary
#8F9FD2
accent
#68E443
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAC37

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

Preview Lab → · Contrast checker → · Palette generator →

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