#CFB75F#CFB75F

#CFB75F is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.112 H 94.4°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CFB75F
RGBrgb(207, 183, 95)
HSLhsl(47, 54%, 59%)
HSVhsv(47, 54%, 81%)
CMYKcmyk(0%, 11.6%, 54.1%, 18.8%)
CIE-LABlab(74.80, -2.45, 47.35)
CIE-LCHlch(74.80, 47.41, 92.97°)
OKLaboklab(78.2% -0.0086 0.1115)
OKLCHoklch(78.2% 0.112 94.4)
XYZxyz(44.7328, 47.9606, 17.7253)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB75F #5F77CF
analogous
#CF7F5F #CFB75F #AFCF5F
triadic
#CFB75F #5FCFB7 #B75FCF
tetradic
#CFB75F #5FCF7F #5F77CF #CF5FAF
square
#CFB75F #5FCF7F #5F77CF #CF5FAF
split-complementary
#CFB75F #5FAFCF #7F5FCF
monochromatic
#8A7529 #B99D38 #CFB75F #DDCC8E #EBE1BD

Accessibility & contrast

On white

1.98
#CFB75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CFB75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB75F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB75F#FFFFFF#000000##000000
##CFB75F1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#CDBB63
Tritanopia (blue-blind)
#DDABA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb75f;
/* rgb */ color: rgb(207, 183, 95);
/* oklch */ color: oklch(78.2% 0.112 94.4);
Tailwind
colors: {
  custom: {
    50: '#e0cc8f',
    500: '#cfb75f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb75f;
$custom-light: #e0cc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb75f",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 95
  },
  "hsl": {
    "h": 47.143,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78197,
    "c": 0.11183,
    "h": 94.4
  },
  "luminance": 0.47959
}

Semantic roles & 50–950 ramp

primary
#CFB75F
secondary
#AFB8DB
accent
#6ADD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB75F

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

Preview Lab → · Contrast checker → · Palette generator →

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