#CFAF3F#CFAF3F

#CFAF3F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.133 H 92.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#CFAF3F
RGBrgb(207, 175, 63)
HSLhsl(47, 60%, 53%)
HSVhsv(47, 70%, 81%)
CMYKcmyk(0%, 15.5%, 69.6%, 18.8%)
CIE-LABlab(72.42, -0.40, 59.19)
CIE-LCHlch(72.42, 59.19, 90.38°)
OKLaboklab(76.22% -0.0065 0.1324)
OKLCHoklch(76.22% 0.133 92.8)
XYZxyz(41.9615, 44.2866, 11.0396)
Luminance0.4428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF3F #3F5FCF
analogous
#CF673F #CFAF3F #A7CF3F
triadic
#CFAF3F #3FCFAF #AF3FCF
tetradic
#CFAF3F #3FCF67 #3F5FCF #CF3FA7
square
#CFAF3F #3FCF67 #3F5FCF #CF3FA7
split-complementary
#CFAF3F #3FA7CF #673FCF
monochromatic
#76621E #A78B2A #CFAF3F #DBC370 #E7D8A1

Accessibility & contrast

On white

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

On black

9.86
#CFAF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF3F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF3F#FFFFFF#000000##000000
##CFAF3F1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#C9B645
Tritanopia (blue-blind)
#DFA198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf3f;
/* rgb */ color: rgb(207, 175, 63);
/* oklch */ color: oklch(76.2% 0.133 92.8);
Tailwind
colors: {
  custom: {
    50: '#e1c67a',
    500: '#cfaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf3f;
$custom-light: #e1c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf3f",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 46.667,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76219,
    "c": 0.1326,
    "h": 92.8
  },
  "luminance": 0.44284
}

Semantic roles & 50–950 ramp

primary
#CFAF3F
secondary
#96A4D4
accent
#68E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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