#CFB245#CFB245

#CFB245 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.130 H 94.1°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CFB245
RGBrgb(207, 178, 69)
HSLhsl(47, 59%, 54%)
HSVhsv(47, 67%, 81%)
CMYKcmyk(0%, 14%, 66.7%, 18.8%)
CIE-LABlab(73.24, -1.65, 57.54)
CIE-LCHlch(73.24, 57.56, 91.64°)
OKLaboklab(76.89% -0.0093 0.13)
OKLCHoklch(76.89% 0.13 94.1)
XYZxyz(42.7288, 45.5381, 12.1682)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB245 #4562CF
analogous
#CF6D45 #CFB245 #A7CF45
triadic
#CFB245 #45CFB2 #B245CF
tetradic
#CFB245 #45CF6D #4562CF #CF45A7
square
#CFB245 #45CF6D #4562CF #CF45A7
split-complementary
#CFB245 #45A7CF #6D45CF
monochromatic
#7A6720 #AB902C #CFB245 #DCC676 #E8DAA6

Accessibility & contrast

On white

2.08
#CFB245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#CFB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB245
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB245#FFFFFF#000000##000000
##CFB2451.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#DFA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb245;
/* rgb */ color: rgb(207, 178, 69);
/* oklch */ color: oklch(76.9% 0.130 94.1);
Tailwind
colors: {
  custom: {
    50: '#e1c87e',
    500: '#cfb245',
    950: '#000000',
  },
}
SCSS
$custom: #cfb245;
$custom-light: #e1c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb245",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 47.391,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76886,
    "c": 0.1303,
    "h": 94.1
  },
  "luminance": 0.45536
}

Semantic roles & 50–950 ramp

primary
#CFB245
secondary
#9BA7D5
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB245

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

Preview Lab → · Contrast checker → · Palette generator →

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