#CFAC3B#CFAC3B

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

Color values

HEX#CFAC3B
RGBrgb(207, 172, 59)
HSLhsl(46, 61%, 52%)
HSVhsv(46, 71%, 81%)
CMYKcmyk(0%, 16.9%, 71.5%, 18.8%)
CIE-LABlab(71.62, 0.99, 59.99)
CIE-LCHlch(71.62, 60.00, 89.06°)
OKLaboklab(75.58% -0.003 0.1334)
OKLCHoklch(75.58% 0.133 91.3)
XYZxyz(41.2763, 43.0887, 10.2797)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC3B #3B5ECF
analogous
#CF623B #CFAC3B #A8CF3B
triadic
#CFAC3B #3BCFAC #AC3BCF
tetradic
#CFAC3B #3BCF62 #3B5ECF #CF3BA8
square
#CFAC3B #3BCF62 #3B5ECF #CF3BA8
split-complementary
#CFAC3B #3BA8CF #623BCF
monochromatic
#735F1C #A58728 #CFAC3B #DBC16C #E7D69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAC3B#FFFFFF#000000##000000
##CFAC3B1.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)
#BFAA2B
Deuteranopia (green-blind)
#C7B441
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfac3b;
/* rgb */ color: rgb(207, 172, 59);
/* oklch */ color: oklch(75.6% 0.133 91.3);
Tailwind
colors: {
  custom: {
    50: '#e2c478',
    500: '#cfac3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfac3b;
$custom-light: #e2c478;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac3b",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 45.811,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75575,
    "c": 0.13345,
    "h": 91.3
  },
  "luminance": 0.43086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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