#CFAF3C#CFAF3C

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

Color values

HEX#CFAF3C
RGBrgb(207, 175, 60)
HSLhsl(47, 60%, 52%)
HSVhsv(47, 71%, 81%)
CMYKcmyk(0%, 15.5%, 71%, 18.8%)
CIE-LABlab(72.40, -0.55, 60.38)
CIE-LCHlch(72.40, 60.38, 90.52°)
OKLaboklab(76.2% -0.0072 0.1344)
OKLCHoklch(76.2% 0.135 93.1)
XYZxyz(41.8799, 44.2540, 10.6101)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF3C #3C5CCF
analogous
#CF663C #CFAF3C #A5CF3C
triadic
#CFAF3C #3CCFAF #AF3CCF
tetradic
#CFAF3C #3CCF66 #3C5CCF #CF3CA5
square
#CFAF3C #3CCF66 #3C5CCF #CF3CA5
split-complementary
#CFAF3C #3CA5CF #663CCF
monochromatic
#74611D #A58A29 #CFAF3C #DBC36D #E7D79E

Accessibility & contrast

On white

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

On black

9.85
#CFAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF3C
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF3C#FFFFFF#000000##000000
##CFAF3C1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2B
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#E0A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf3c;
/* rgb */ color: rgb(207, 175, 60);
/* oklch */ color: oklch(76.2% 0.135 93.1);
Tailwind
colors: {
  custom: {
    50: '#e2c679',
    500: '#cfaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf3c;
$custom-light: #e2c679;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf3c",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 46.939,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76195,
    "c": 0.13462,
    "h": 93.1
  },
  "luminance": 0.44252
}

Semantic roles & 50–950 ramp

primary
#CFAF3C
secondary
#93A1D3
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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