#CFAF3A#CFAF3A

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

Color values

HEX#CFAF3A
RGBrgb(207, 175, 58)
HSLhsl(47, 61%, 52%)
HSVhsv(47, 72%, 81%)
CMYKcmyk(0%, 15.5%, 72%, 18.8%)
CIE-LABlab(72.38, -0.65, 61.15)
CIE-LCHlch(72.38, 61.15, 90.61°)
OKLaboklab(76.18% -0.0077 0.1357)
OKLCHoklch(76.18% 0.136 93.3)
XYZxyz(41.8280, 44.2332, 10.3369)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF3A #3A5ACF
analogous
#CF653A #CFAF3A #A5CF3A
triadic
#CFAF3A #3ACFAF #AF3ACF
tetradic
#CFAF3A #3ACF65 #3A5ACF #CF3AA5
square
#CFAF3A #3ACF65 #3A5ACF #CF3AA5
split-complementary
#CFAF3A #3AA5CF #653ACF
monochromatic
#73601C #A48928 #CFAF3A #DBC36B #E7D79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAF3A#FFFFFF#000000##000000
##CFAF3A1.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)
#C2AC28
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#E0A198
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfaf3a;
/* rgb */ color: rgb(207, 175, 58);
/* oklch */ color: oklch(76.2% 0.136 93.3);
Tailwind
colors: {
  custom: {
    50: '#e2c677',
    500: '#cfaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf3a;
$custom-light: #e2c677;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf3a",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 47.114,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76179,
    "c": 0.13591,
    "h": 93.3
  },
  "luminance": 0.44231
}

Semantic roles & 50–950 ramp

primary
#CFAF3A
secondary
#92A0D3
accent
#66E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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