#CFB45C#CFB45C

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

Color values

HEX#CFB45C
RGBrgb(207, 180, 92)
HSLhsl(46, 55%, 59%)
HSVhsv(46, 56%, 81%)
CMYKcmyk(0%, 13%, 55.6%, 18.8%)
CIE-LABlab(73.99, -1.12, 47.84)
CIE-LCHlch(73.99, 47.86, 91.34°)
OKLaboklab(77.54% -0.0051 0.1123)
OKLCHoklch(77.54% 0.112 92.6)
XYZxyz(43.9869, 46.6827, 16.8169)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB45C #5C77CF
analogous
#CF7A5C #CFB45C #B0CF5C
triadic
#CFB45C #5CCFB4 #B45CCF
tetradic
#CFB45C #5CCF7A #5C77CF #CF5CB0
square
#CFB45C #5CCF7A #5C77CF #CF5CB0
split-complementary
#CFB45C #5CB0CF #7A5CCF
monochromatic
#887228 #B89936 #CFB45C #DDCA8B #EBE0BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB45C#FFFFFF#000000##000000
##CFB45C1.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)
#C4B154
Deuteranopia (green-blind)
#CBB960
Tritanopia (blue-blind)
#DEA8A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb45c;
/* rgb */ color: rgb(207, 180, 92);
/* oklch */ color: oklch(77.5% 0.112 92.6);
Tailwind
colors: {
  custom: {
    50: '#e0ca8c',
    500: '#cfb45c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb45c;
$custom-light: #e0ca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb45c",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 92
  },
  "hsl": {
    "h": 45.913,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77543,
    "c": 0.11238,
    "h": 92.6
  },
  "luminance": 0.46681
}

Semantic roles & 50–950 ramp

primary
#CFB45C
secondary
#ADB7DA
accent
#6DDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB45C

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

Preview Lab → · Contrast checker → · Palette generator →

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