#CFAA3B#CFAA3B

#CFAA3B is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.2% C 0.132 H 90.0°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CFAA3B
RGBrgb(207, 170, 59)
HSLhsl(45, 61%, 52%)
HSVhsv(45, 71%, 81%)
CMYKcmyk(0%, 17.9%, 71.5%, 18.8%)
CIE-LABlab(71.10, 2.05, 59.48)
CIE-LCHlch(71.10, 59.51, 88.03°)
OKLaboklab(75.17% 0.0001 0.1323)
OKLCHoklch(75.17% 0.132 90)
XYZxyz(40.8986, 42.3331, 10.1538)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAA3B #3B60CF
analogous
#CF603B #CFAA3B #AACF3B
triadic
#CFAA3B #3BCFAA #AA3BCF
tetradic
#CFAA3B #3BCF60 #3B60CF #CF3BAA
square
#CFAA3B #3BCF60 #3B60CF #CF3BAA
split-complementary
#CFAA3B #3BAACF #603BCF
monochromatic
#735E1C #A58528 #CFAA3B #DBBF6C #E7D59D

Accessibility & contrast

On white

2.22
#CFAA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CFAA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAA3B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAA3B#FFFFFF#000000##000000
##CFAA3B1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82B
Deuteranopia (green-blind)
#C6B241
Tritanopia (blue-blind)
#E09C94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cfaa3b;
/* rgb */ color: rgb(207, 170, 59);
/* oklch */ color: oklch(75.2% 0.132 90.0);
Tailwind
colors: {
  custom: {
    50: '#e2c278',
    500: '#cfaa3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfaa3b;
$custom-light: #e2c278;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaa3b",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 45,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75168,
    "c": 0.13233,
    "h": 90
  },
  "luminance": 0.42331
}

Semantic roles & 50–950 ramp

primary
#CFAA3B
secondary
#93A3D3
accent
#6CE444
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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