#CFAA3A#CFAA3A

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

Color values

HEX#CFAA3A
RGBrgb(207, 170, 58)
HSLhsl(45, 61%, 52%)
HSVhsv(45, 72%, 81%)
CMYKcmyk(0%, 17.9%, 72%, 18.8%)
CIE-LABlab(71.09, 2.00, 59.87)
CIE-LCHlch(71.09, 59.90, 88.09°)
OKLaboklab(75.16% -0.0002 0.133)
OKLCHoklch(75.16% 0.133 90.1)
XYZxyz(40.8729, 42.3229, 10.0185)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAA3A #3A5FCF
analogous
#CF603A #CFAA3A #A9CF3A
triadic
#CFAA3A #3ACFAA #AA3ACF
tetradic
#CFAA3A #3ACF60 #3A5FCF #CF3AA9
square
#CFAA3A #3ACF60 #3A5FCF #CF3AA9
split-complementary
#CFAA3A #3AA9CF #603ACF
monochromatic
#735D1C #A48528 #CFAA3A #DBBF6B #E7D49C

Accessibility & contrast

On white

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

On black

9.46
#CFAA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAA3A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAA3A#FFFFFF#000000##000000
##CFAA3A1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82A
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#E09C93
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cfaa3a;
/* rgb */ color: rgb(207, 170, 58);
/* oklch */ color: oklch(75.2% 0.133 90.1);
Tailwind
colors: {
  custom: {
    50: '#e2c277',
    500: '#cfaa3a',
    950: '#000000',
  },
}
SCSS
$custom: #cfaa3a;
$custom-light: #e2c277;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaa3a",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 45.101,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7516,
    "c": 0.13297,
    "h": 90.1
  },
  "luminance": 0.4232
}

Semantic roles & 50–950 ramp

primary
#CFAA3A
secondary
#92A2D3
accent
#6CE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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