#CFB45E#CFB45E

#CFB45E is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.6% C 0.111 H 92.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CFB45E
RGBrgb(207, 180, 94)
HSLhsl(46, 54%, 59%)
HSVhsv(46, 55%, 81%)
CMYKcmyk(0%, 13%, 54.6%, 18.8%)
CIE-LABlab(74.01, -0.96, 46.90)
CIE-LCHlch(74.01, 46.91, 91.17°)
OKLaboklab(77.57% -0.0044 0.1104)
OKLCHoklch(77.57% 0.111 92.3)
XYZxyz(44.0755, 46.7182, 17.2834)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB45E #5E79CF
analogous
#CF7C5E #CFB45E #B2CF5E
triadic
#CFB45E #5ECFB4 #B45ECF
tetradic
#CFB45E #5ECF7C #5E79CF #CF5EB2
square
#CFB45E #5ECF7C #5E79CF #CF5EB2
split-complementary
#CFB45E #5EB2CF #7C5ECF
monochromatic
#8A7329 #B99A37 #CFB45E #DDCA8D #EBE0BC

Accessibility & contrast

On white

2.03
#CFB45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CFB45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB45E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB45E#FFFFFF#000000##000000
##CFB45E1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B156
Deuteranopia (green-blind)
#CBB961
Tritanopia (blue-blind)
#DEA8A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb45e;
/* rgb */ color: rgb(207, 180, 94);
/* oklch */ color: oklch(77.6% 0.111 92.3);
Tailwind
colors: {
  custom: {
    50: '#e0ca8e',
    500: '#cfb45e',
    950: '#000000',
  },
}
SCSS
$custom: #cfb45e;
$custom-light: #e0ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb45e",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 94
  },
  "hsl": {
    "h": 45.664,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.77568,
    "c": 0.11051,
    "h": 92.3
  },
  "luminance": 0.46716
}

Semantic roles & 50–950 ramp

primary
#CFB45E
secondary
#AEB9DB
accent
#6EDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB45E

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

Preview Lab → · Contrast checker → · Palette generator →

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