#CFB045#CFB045

#CFB045 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.129 H 92.8°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CFB045
RGBrgb(207, 176, 69)
HSLhsl(47, 59%, 54%)
HSVhsv(47, 67%, 81%)
CMYKcmyk(0%, 15%, 66.7%, 18.8%)
CIE-LABlab(72.73, -0.59, 56.99)
CIE-LCHlch(72.73, 56.99, 90.60°)
OKLaboklab(76.48% -0.0063 0.1288)
OKLCHoklch(76.48% 0.129 92.8)
XYZxyz(42.3337, 44.7481, 12.0365)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB045 #4564CF
analogous
#CF6B45 #CFB045 #A9CF45
triadic
#CFB045 #45CFB0 #B045CF
tetradic
#CFB045 #45CF6B #4564CF #CF45A9
square
#CFB045 #45CF6B #4564CF #CF45A9
split-complementary
#CFB045 #45A9CF #6B45CF
monochromatic
#7A6620 #AB8E2C #CFB045 #DCC576 #E8D9A6

Accessibility & contrast

On white

2.11
#CFB045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CFB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB045
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB045#FFFFFF#000000##000000
##CFB0451.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#DFA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfb045;
/* rgb */ color: rgb(207, 176, 69);
/* oklch */ color: oklch(76.5% 0.129 92.8);
Tailwind
colors: {
  custom: {
    50: '#e1c77e',
    500: '#cfb045',
    950: '#000000',
  },
}
SCSS
$custom: #cfb045;
$custom-light: #e1c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb045",
  "rgb": {
    "r": 207,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 46.522,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76476,
    "c": 0.12895,
    "h": 92.8
  },
  "luminance": 0.44746
}

Semantic roles & 50–950 ramp

primary
#CFB045
secondary
#9BA8D5
accent
#69E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB045

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

Preview Lab → · Contrast checker → · Palette generator →

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