#CFAE3E#CFAE3E

#CFAE3E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.133 H 92.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CFAE3E
RGBrgb(207, 174, 62)
HSLhsl(46, 60%, 53%)
HSVhsv(46, 70%, 81%)
CMYKcmyk(0%, 15.9%, 70%, 18.8%)
CIE-LABlab(72.15, 0.08, 59.33)
CIE-LCHlch(72.15, 59.33, 89.92°)
OKLaboklab(76.01% -0.0052 0.1326)
OKLCHoklch(76.01% 0.133 92.3)
XYZxyz(41.7399, 43.8877, 10.8292)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE3E #3E5FCF
analogous
#CF663E #CFAE3E #A7CF3E
triadic
#CFAE3E #3ECFAE #AE3ECF
tetradic
#CFAE3E #3ECF66 #3E5FCF #CF3EA7
square
#CFAE3E #3ECF66 #3E5FCF #CF3EA7
split-complementary
#CFAE3E #3EA7CF #663ECF
monochromatic
#75611D #A68A29 #CFAE3E #DBC36F #E7D7A0

Accessibility & contrast

On white

2.15
#CFAE3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CFAE3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE3E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE3E#FFFFFF#000000##000000
##CFAE3E1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2F
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#E0A097
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae3e;
/* rgb */ color: rgb(207, 174, 62);
/* oklch */ color: oklch(76.0% 0.133 92.3);
Tailwind
colors: {
  custom: {
    50: '#e2c57a',
    500: '#cfae3e',
    950: '#000000',
  },
}
SCSS
$custom: #cfae3e;
$custom-light: #e2c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae3e",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 62
  },
  "hsl": {
    "h": 46.345,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76006,
    "c": 0.13265,
    "h": 92.3
  },
  "luminance": 0.43885
}

Semantic roles & 50–950 ramp

primary
#CFAE3E
secondary
#95A3D4
accent
#69E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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