#CFAE3A#CFAE3A

#CFAE3A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 76.0% C 0.135 H 92.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CFAE3A
RGBrgb(207, 174, 58)
HSLhsl(47, 61%, 52%)
HSVhsv(47, 72%, 81%)
CMYKcmyk(0%, 15.9%, 72%, 18.8%)
CIE-LABlab(72.13, -0.12, 60.89)
CIE-LCHlch(72.13, 60.89, 90.11°)
OKLaboklab(75.98% -0.0062 0.1351)
OKLCHoklch(75.98% 0.135 92.6)
XYZxyz(41.6341, 43.8454, 10.2722)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE3A #3A5BCF
analogous
#CF633A #CFAE3A #A6CF3A
triadic
#CFAE3A #3ACFAE #AE3ACF
tetradic
#CFAE3A #3ACF63 #3A5BCF #CF3AA6
square
#CFAE3A #3ACF63 #3A5BCF #CF3AA6
split-complementary
#CFAE3A #3AA6CF #633ACF
monochromatic
#735F1C #A48828 #CFAE3A #DBC26B #E7D69C

Accessibility & contrast

On white

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

On black

9.77
#CFAE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE3A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE3A#FFFFFF#000000##000000
##CFAE3A1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfae3a;
/* rgb */ color: rgb(207, 174, 58);
/* oklch */ color: oklch(76.0% 0.135 92.6);
Tailwind
colors: {
  custom: {
    50: '#e2c577',
    500: '#cfae3a',
    950: '#000000',
  },
}
SCSS
$custom: #cfae3a;
$custom-light: #e2c577;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae3a",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 46.711,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75975,
    "c": 0.13528,
    "h": 92.6
  },
  "luminance": 0.43843
}

Semantic roles & 50–950 ramp

primary
#CFAE3A
secondary
#92A0D3
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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