#CFAF48#CFAF48

#CFAF48 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.126 H 91.8°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CFAF48
RGBrgb(207, 175, 72)
HSLhsl(46, 58%, 55%)
HSVhsv(46, 65%, 81%)
CMYKcmyk(0%, 15.5%, 65.2%, 18.8%)
CIE-LABlab(72.49, 0.11, 55.44)
CIE-LCHlch(72.49, 55.44, 89.88°)
OKLaboklab(76.3% -0.0039 0.126)
OKLCHoklch(76.3% 0.126 91.8)
XYZxyz(42.2339, 44.3956, 12.4743)
Luminance0.4439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF48 #4868CF
analogous
#CF6C48 #CFAF48 #ABCF48
triadic
#CFAF48 #48CFAF #AF48CF
tetradic
#CFAF48 #48CF6C #4868CF #CF48AB
square
#CFAF48 #48CF6C #4868CF #CF48AB
split-complementary
#CFAF48 #48ABCF #6C48CF
monochromatic
#7C6621 #AD8E2D #CFAF48 #DCC478 #E8D9A9

Accessibility & contrast

On white

2.13
#CFAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#CFAF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF48
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF48#FFFFFF#000000##000000
##CFAF481.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C9B64D
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf48;
/* rgb */ color: rgb(207, 175, 72);
/* oklch */ color: oklch(76.3% 0.126 91.8);
Tailwind
colors: {
  custom: {
    50: '#e1c680',
    500: '#cfaf48',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf48;
$custom-light: #e1c680;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf48",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 45.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76299,
    "c": 0.12604,
    "h": 91.8
  },
  "luminance": 0.44393
}

Semantic roles & 50–950 ramp

primary
#CFAF48
secondary
#9DAAD6
accent
#6BE246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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